Website Help
SSL Issues
What Is Mixed Website Content Error and How to Fix It?

What Is Mixed Website Content Error and How to Fix It?

In many cases when you install an SSL certificate for your website and reconfigure it to open via HTTPS, there are still items on the website’s pages that are requested via HTTP. This is called mixed content.

These can be internal resources situated on your hosting account or external ones, pulled from remote locations, like Google fonts and similar. Having resources on your site that still load via HTTP prevents the padlock, indicating that your site is secure, from showing in the visitor’s browser.

How to fix the mixed content error

The fastest way to solve this issue is by using the functionality ‘Force HTTPS’ in the SiteGround Optimizer plugin. It will redirect all the traffic for your website to HTTPS which should help avoid mixed content, except in some cases of remote resources still being pulled over HTTP.

1. Install the plugin by logging into the WordPress Admin > Plugins > Add New.

2. Then, type ‘SiteGround Optimizer’ in the search field and click on the Install button right next to the SiteGround Optimizer plugin.

3. Once the plugin is installed, click on the Activate button.

activate SiteGround Optimizer

4. Go to the SiteGround Optimizer menu, located in the left column, and select the tab Environment Optimization.

5. Click on the buttons next to Enable HTTPS and Fix Insecure Content to enable these options.

If you are not using WordPress or even after using SiteGround Optimizer there is still mixed content on the website pages, then you can use this online tool to find which content is being served via HTTP. You would have to attempt to correct all of them to load over HTTPS manually, based on the specific elements.

The following action should be performed only by advanced users since it may break your site.

Another way to fix the mixed content error is by using the Search & Replace tool in Site Tools. Using the tool, replace all instances of http://yourdomain.com with https://yourdomain.com in the database of your WordPress website.

Share This Article