If you turn on HTTPS for your blog, you may have to change your blog content to make sure it works with HTTPS.
Mixed Content errors occur when a webpage downloads its initial HTML content securely over HTTPS, but then loads the follow-up content (such as images, videos, stylesheets, scripts) over insecure HTTP. These browser errors will degrade both HTTPS security and the user experience of your blog.
Mixed content can be caused by HTML markup or JavaScript content in:
- Theme source
- Post and page source
- Gadget source
Check your blog for mixed content errors
Use the latest version of Chrome.
- (optional) Remove all non-Google gadgets from your blog.
- On your browser, visit your blog using HTTPS.
- At the top of your browser, click View > Developer > JavaScript Console.
- Look for mixed content errors:
- “Mixed Content: The page at '
https://<your-blog>.blogspot.com/
' was loaded over HTTPS, but requested an insecure script 'http://<some-url>/script.js
'. This request has been blocked; the content must be served over HTTPS.” - “Mixed Content: The page at '
https://<your-blog>.blogspot.com/
' was loaded over HTTPS, but requested an insecure image 'http://<some-url>/image.jpg
'. This content should also be served over HTTPS.”
- “Mixed Content: The page at '
- Make a list of the blog address you are viewing, and any insecure URLs listed in the error messages.
- (optional) Re-add gadgets one at a time to your blog. Repeat steps 2–5, and note any new mixed content errors.
Make sure to visit each page of your blog separately. Errors will show only for the page being viewed, not the blog as a whole. Make note of the errors you see, as well as whether the same problem URLs appear in errors for multiple blog pages.
Fix mixed content errors on your blog
This likely means that the mixed content is in the source of one of your pages or posts.
- On your blog’s dashboard, click Posts or Pages.
- Use the list of blog addresses you made when you checked for mixed content. Find the post or page and click Edit.
- In the top left, click HTML.
- At the top of your browser, click More Find...
- Search for “
http://
”. - If you find any HTTP URLs inside HTML tag attributes (specifically in
<img>, <video>, <audio>, <script>
, or<link>
tags), change "http://
" to "https://
". - Verify that each URL is available over HTTPS by putting it into a new window in your browser. If the HTTP and HTTPS link give the same result, then everything works.
- In the top right, tap or click Publish, Save or Update. If the content has any errors, you’ll see them in the editor screen and the post or page won’t be saved yet.
- Recheck your blog for mixed content to verify that the error is gone.
This likely means that the mixed content is in the source of one of your themes.
- On your blog’s dashboard, click Theme.
- Click Edit HTML.
- Click the theme content, then press Ctrl + f (Windows) or Cmd + f (Mac).
- Search for “
http://
”. - If you find any HTTP URLs inside HTML tag attributes (specifically in
<img>, <video>, <audio>, <script>
, or<link>
tags), change "http://
" to "https://
". - Verify that each URL is available over HTTPS by putting it into a new window in your browser. If the HTTP and HTTPS link give the same result, then everything works.
- Click Save theme.
- Recheck your blog for mixed content to verify that the error is gone.
If there are still errors, these may be caused by one of the gadgets on your blog. Remove your non-Google gadgets, check your blog for mixed content, and re-add each gadget, to determine which gadget contains the mixed content.
To fix mixed content caused by gadgets:
- Check the gadget markup or source, if that is available.
- Remove the gadget from your blog.
Avoid mixed content errors in the Blogger post editor
You can find mixed content in your posts and pages with the Blogger HTML editor:
- Turn on HTTPS for your blog.
- Open the Blogger editor by creating a new post or page or editing an existing post or page.
- In the top left, tap or click HTML.
- Make the changes you want to make.
- In the top right, tap or click Publish, Save or Update. If the content has any errors, you’ll see them in the editor screen and the post or page won’t be saved yet.
Note: Dismissing errors will let you save your post or page as it is. Refreshing the page will show the errors again.