What are Mixed Content Errors?
Mixed content errors occur when a web page is initially secured by SSL
but it contains both secure HTTPS and non secure HTTP content (such as
images, links, videos, scripts, style sheets). This browser error will
cause degradation in your site performance, security issues and would
affect the user experience of your blog.
In Blogger mixed content issues can be caused by the HTML content in:
- Template Source code
- Post and Page source code
- Layout gadget source code
How to Check your Blog for Mixed Content Errors?
- Open your browse (we recommend Google Chrome), visit your blog using HTTPS protocol i.e. https://<yoursite>.blogspot.com.
- Once your blog is loaded completely, go to Tools >> Developer >> Console or use this shortcut CTRL + SHIFT + J to open the JavaScript console.
- Now in the console look for mixed content errors similar to the one we have below.
“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 'https://<your-blog>.blogspot.com/' was loaded over HTTPS, but requested an insecure URL 'http://<some-url>/webpage.html'. This content should also be served over HTTPS.”
- Now make a list of unsecured URLs that you have encountered. You can visit many other pages on your Blog to get more mixed content errors.
Fix Mixed Content Errors on your Blogger Template:
It means that mixed content errors is appearing on multiple pages and is
most probably caused by either your template or gadgets, follow below
instructions to remove them.
- Go to Blogger >> Template >> Edit HTML >> and search for http://
- If you are able to find any http:// link replace it with https://
- Before saving, verify if each like is available over HTTPS by opening that linking into a new window or tab of your browser. If both HTTP and HTTPS links are giving you the same results, then you are good to click Save Template.
- Now go to Blogger >> Layout >> Edit each HTML/Javascript type gadget and replace all https:// links with http://. Verify if the https:// links are working correctly and then press Save.
Fix Mixed Content Errors on your Posts & Pages:
This means that mixed content errors are in the source code of one of your posts or pages that you need to edit from the blogger post editor.
- Go to Blogger Dashboard >> select any of your post or page and press Edit link.
- Now revert to the HTML Tab, look for http:// and change it to with https://
- Verify each HTTPS link by opening it in a new browser window to see if the content matches non HTTPS link. After the verification, click Update to save the post or page.
Update to Blogger Post Editor to Fix Mixed Content:
Blogger has announced on 19th April 2016, that they have an update to
the Blogger post editor to help with mixed content. Which means you can
fix mixed content in just one click on your posts and pages.
- Edit a post, revert to HTML Tab and press Update.
- If the editor detects any errors they will be shown above the editor, along with the option to fix the errors found.
- After fixing the errors, again press the Update button.
Dear readers, after reading the Content please ask for advice and to provide constructive feedback Please Write Relevant Comment with Polite Language.Your comments inspired me to continue blogging. Your opinion much more valuable to me. Thank you.