Having an SSL certificate is now a must for all websites. It’s not only a great way to make your website secure from threats but also get a good SEO boost in return.
However, installing and managing the SSL certificate and configuring your website to HTTPS is a process that often involves many issues and errors. One of the common issues is the “insecure content” or “mixed content” error.
This is one of the most frustrating issues that you’ll encounter because it makes visitors believe that your website hosts malicious or harmful content by showing them a warning that pretty much scares them away. As a result, they may never visit your website again.
To prevent this error from affecting your business and traffic, it’s extremely important that you fix the error as soon as you discovered it. In this guide, we’ll show you how to fix the mixed content error using a simple free plugin. Keep reading to see how it works.
The mixed content (or insecure content) error commonly occur when there’s an issue with your website’s HTTPS configuration.
For example, when you have your website configured for HTTPS but your images and other media links loads over the old HTTP, browsers see it as suspicious and unsafe activity and gives a mixed content warning to remind people that some links on the site could be harmful.
When the error occurs, browsers like Chrome and Firefox will show a warning message next to the HTTPS lock stating that the site hosts insecure content. Except they will see a warning sign next to HTTPS instead of the secured lock symbol.
In some situations, the browser will go as far as to block scripts or a page if it assumes the insecure content can be harmful to users. Especially when a website use HTTPS and loads code such as JavaScript in HTTP, browsers see it as malicious content and blocks the scripts from loading. Sometimes, it will even block a page by showing a scary warning page to users.
In most situations, the mixed content error won’t do much harm to your website. Your blog posts and pages will continue to load and the website will function as normal. However, keeping your website in this condition could break your website and your business.
Seeing a warning message next to a website is definitely a red flag. Imagine going to a website to buy something and seeing a mixed content warning. Would you feel safe sharing your credit card information with such a website? Of course not!
Sometimes, the error can also mess with your website design and content. For example, if Chrome blocks an important JavaScript script from loading, your website theme won’t be displayed correctly to your website visitors. Or important media such as images and video won’t be shown to users.
Thankfully, the error can be easily fixed. But first, you need to figure out which content causes the error. You can do this using the browser developer tools.
When using Chrome, load the website, then Right Click and select Inspect Element to open the developer tools console (or press Control + Shift + I). Switch over to the Security tab to see all the warning messages. Here you’ll see all the mixed content errors related to the website.
On Firefox, press Control + Shift I to access developer tools and you can see all warning messages in the Console tab.
With this method, you can figure out what kind of links, scripts, or media are loaded over HTTP and fix the links to load them properly over HTTPS.
If you have an old-school HTML website, you would have to go through a lot of work to manually fix each and every mixed content error. Luckily, there’s a plugin that let WordPress fix the errors instantly.
Aptly named SSL Insecure Content Fixer plugin is made specifically for fixing mixed content errors. Here’s how it works.
Get started by first installing the plugin on your website.
Login to your WordPress admin dashboard and go to Plugins >> Add New. Then search for the SSL Insecure Content Fixer plugin.
Now click Install and then Activate.
Once installed, go to Settings >> SSL Insecure Content Fixer plugin tab to enable the plugin. Here you can also choose which content needs fixing.
The plugin offers 5 different configurations for fixing errors:
Now, if you’ve used the browser developer tools to figure out what’s causing the issue, you can use the appropriate configuration to fix the errors.
To activate, simply select an option and scroll all the way down to select an HTTPS Detection option.
If you’re using a CDN service like CloudFlare or KeyCDN, select the option related to the CDN. Otherwise, leave it at the default “standard WordPress function”.
Click on the Save Changes button and the plugin will do its magic.
The insecure content error is most common among users who manually setup SSL certificates, especially when you use third-party plugins to set it up.
One of the best ways to avoid this type of issues is to choose a reputable managed WordPress hosting platform to host your website. These platforms provide you with free SSL certificates properly configured for WordPress websites that also auto-renews so that you don’t have to worry about dealing with any errors.
Trying to figure out how to start an online course so that you can share…
Considering using LearnDash to create online course content with WordPress? LearnDash is a popular WordPress…
WordPress XML files see a lot of use for me as a content creator, and…
If you’re looking for a way to deliver an online course, complete with all the…
Search Engine Optimization (SEO) is crucial for any website that wants to maximize its traffic…
Kinsta is a notable brand in the WordPress hosting space. The standout aspect of the…