Fix Mixed Content Issue: What Is it And How to Fix It?

By:  Dileep Thekkethil

Updated On: August 30, 2022

By now you must have enabled HTTPS on your server. Great.

If not, don’t worry, you can do that anytime by contacting your hosting provider.

I recommend enabling HTTPS because Google has been showing greater affinity to rank websites that are secured.

So, now that you have enabled HTTPS, the Chrome browser must recognize your site as secure, right?

Not necessarily!

If you are still seeing an unsecured connection while opening your website, that means you have Mixed Content Issue.

The usual culprit behind this is your Java, CSS stylesheet, and images, which are being delivered from an unsecured server.

The Chrome Update that was launched in December 2019 started displaying the mixed content issue and it continues.

Before the update, Google had to recommend webmasters adopt HTTPS instead of HTTP to ensure the safety of its users.

The HTTPS factor is now one of the 200 ranking signals, and Google officials have confirmed the same. 

Now, Google wants to tighten up things further as it has asked webmasters to ensure that their HTTPS domains are not rendering mixed content.

Users will be notified about the use of mixed content on any affected page, and they can either choose to back out or continue browsing the page after agreeing to the notification.

That said, the majority of users who see a “not secured page” notification get dissuaded from spending further time on the page.

This might lead to a high bounce rate and can negatively affect the site’s ranking on the Search Engine Results Page. 

The SEO fraternity has widely approved the time spent on a page as an essential ranking factor.

If people exit a site with mixed content soon after landing, there is a high chance that Google’s algorithm may demote the site in the SERP rankings.

fix mixed content issues

What is a Mixed Content Error?

The web pages are rendered by browsers based on two protocols – HTTP and HTTPS.

A website that follows the HTTPS protocol is far safer than one that uses HTTP. HTTPS-enabled sites are encrypted, thus ensuring authentication, data integrity, secrecy.

However, there are websites that load both HTTPS and HTTP content on the same page and this is called Mixed Content. 

Most sites that face mixed content issues have external resources such as images, videos, stylesheets, scripts loaded via the HTTP domain.

Even though the initial request is sent as HTTPS, once the mixed content is rendered in the Google Chrome browser, it shows the site as insecure as there are chances that the HTTP resources may harm the users. 

How to Fix Mixed Content Issue?

If you have an HTTPS domain but see the “Not Secure” notification on the Omnibox of the Chrome browser, there is a high chance that your website has Mixed Content. 

Step 1: Identify Mixed Content on the Page

If you see the browser notification that says “Insecure content found on the webpage,” go to the source code and check whether you see the “http://” URLs on the page. You can do this by doing a simple CTRL+F on the source code. You can find HTTP URLs with mixed content errors and warnings this way. Active Mixed Content Errors and Warnings

Step 2: Check if the Resource is Available in HTTP and HTTPS

There are chances that the mixed content is available in both HTTP and HTTPS. In such cases, you don’t have to make any changes as the Chrome Browser 79 will auto-upgrade mixed resources to https://, so sites will continue to work.
Mixed Content Available In Both Http And Https

However, if you fail to find the HTTPS version of the same file – “Resource not available over HTTPS”, or if you see a Chrome Notification that says “Certificate warning when attempting to view resource over HTTPS”, you have to consider migrating the resource to HTTPS. 

Step 3: Migrating an HTTP Resource to HTTPS

If you find resources that are not in HTTPS or faced warning while accessing, you must consider doing the following:

  1. Include the same resource from a different host that serves the HTTPS version. 
  2. If your external resource is a downloadable asset, download the same and host it in your HTTPS server. 
  3. If the resource is not integral for rendering the website exclude it altogether.

Step 4: Update the Source File

Once you have uploaded the resource on an HTTPS domain, update the source code with the new HTTPS URL of the resource.

Step 5: Check Whether the Error Has been Resolved.

A Timeline of Mixed Content Warning Rollout?

Starting in December 2019, Google Chrome will start treating websites with mixed content differently. Instead of an overnight exclusion, Google is planning to phase out mixed content with a series of Chrome Updates, says the official announcement. 

Phase 1 – The Chrome 79 Update will be rolled out in December 2019 and it will unblock mixed content on specific sites. This chrome version will auto-upgrade HTTP to HTTPS wherever possible. Fix Google Chrome Mixed Content Issue

Phase 2: The Chrome 80 update is all set to launch in January 2020. This update brings along HTTPS auto-upgraded features, which will upgrade the unsecured HTTP connection to a more secure HTTPs connection. Taking the Chrome 80 update further, if the content fails to load over an HTTPs connection, then the browser will automatically block it.
Chrome Browser - Not Secure Website

Phase 3: To add further, the mixed image will still be allowed to load in the Chrome 80 update, but it will come with a “ Not Secure” warning by the browser in the Omnibox next to the URL of the website, as shown in the image above. This is expected to prompt users to migrate their images to HTTPs.

Phase 4: The next upgrade, which is the Chrome 81 update, will also come with HTTPs auto-upgraded features. Chrome will block the images that fail to load over an HTTPs connection. As per reports, Chrome 81 update is coming in February 2020. 


Dileep Thekkethil

With over 12 years of expertise, Dileep has carved a name for himself as a trailblazer in the SEO industry. As an acclaimed author and relentless learner, he has transformed countless websites with tailored digital marketing strategies, thanks to his profound insights and innovative approach. Dileep's passion for staying ahead of the curve is evident in his contributions to Stan Ventures and the 100+ publications that feature his groundbreaking articles on SEO and digital marketing. His dedication to knowledge-sharing has earned him widespread recognition as a go-to expert in the field. For cutting-edge SEO solutions or to delve into the mind of a true digital marketing virtuoso, connect with Dileep through the links provided below. @Mail | LinkedIn | Twitter | Facebook or View all posts by Dileep


Leave a Reply

Your email address will not be published. Required fields are marked *