You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: pages/mixed-content.md
+5-5Lines changed: 5 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -18,7 +18,7 @@ In Chrome, a website indicator for passive mixed content looks like this:
18
18
19
19

20
20
21
-
###Migration strategy
21
+
## Migration strategy
22
22
23
23
Every website's mixed content situation will be different, but the general approach is:
24
24
@@ -29,7 +29,7 @@ Every website's mixed content situation will be different, but the general appro
29
29
30
30
Note: the below instructions use tools **optimized for an OS X or Linux environment**. Documentation for Windows-based tools would be a welcome contribution to this guide.
31
31
32
-
###Linking to resources securely
32
+
## Linking to resources securely
33
33
34
34
Most commonly used third party services, such as Google Analytics or AddThis, **will automatically adapt** when migrating to HTTPS.
35
35
@@ -49,7 +49,7 @@ When migrating a site with a lot of user- or staff-submitted content (e.g. a blo
49
49
50
50
This is a great opportunity to improve your website's privacy and lessen your dependency on third parties, by copying those media files to your own server instead and hosting them yourself.
51
51
52
-
###Scanning your code
52
+
## Scanning your code
53
53
54
54
After identifying and fixing the obvious issues, you can scan your website's files for leads. On a Mac or Linux-based system, `grep` is very handy:
55
55
@@ -71,7 +71,7 @@ Finding links in JavaScript is more challenging, but you can look for all `http:
71
71
grep -r "http:" | grep -v "](http:"
72
72
73
73
74
-
###Crawling your website
74
+
## Crawling your website
75
75
76
76
[`mixed-content-scan`](https://github.com/bramus/mixed-content-scan) is a very handy command line tool that can crawl an `http://` or `https://` website to see if it contains any references to insecure resources. This is especially helpful if your content is primarily managed in a CMS.
77
77
@@ -98,7 +98,7 @@ Any discovered mixed content will be listed as a `WARNING`. You can also get the
0 commit comments