WordPress Instant Support
We will fix this issue FAST and right now  
WordPress Instant Support
We will fix this issue FAST and right away  
Go Up  FIX NOW  
FIX THIS NOW

👋 Hi... I am Jarrett

I own WP Fix It and I wanted to let you know that we have agents standing by to fix this exact issue on your site.

We can resolve this NOW!
CHECK IT OUT

fix wordpress mixed content

WordPress Mixed Content Warning FIXED

Are you having trouble getting a GREEN PADLOCK on your browser bar for any visited URL on your site? If so you have a WordPress Mixed Content Warning and we are going to show you how to fix it fast! See the image below. By the end of this post you will be on the GOOD side…🤓

WordPress mixed content

The whole reason this is happening is because the URL where you see a broken padlock has paths in the code that are using HTTP instead of HTTPS. So your goal is to make sure that any resource needed to load on any page in your website loads using HTTPS. Makes sense so far?

There is a developer technique you can do is see what is causing your padlock not to be GREEN and kicking out a WordPress Mixed Content Warning. To do this you will need to use your browser to diagnose what paths are loading that are not using HTTPS.

If you are not familiar with using your browser console to display the errors on your site there is a really cool walkthrough for each and every browser at THIS LINK.

If you look at the image below you will see an example of a browser console report where it is showing that there is content trying to load using HTTPS but it cannot because the path it is loading is using HTTP.

This step is actually not fully necessary unless you are having trouble drilling down the exact cause of a path that is making the padlock break. You do not necessarily need to use the browser console tools to see which parts are broken because in the next steps were going to show you how you can update all of the paths within your website using some quick, tried and true techniques.

The browser console tool to identify mixed content is helpful in some situations when you do have a broken browser padlock and you’ve already completed the next steps that we are going to outline. We will discuss this further later on.

Fix WordPress Mixed Content
WordPress Mixed Content Browser Console Report

So let us first think about all of the different areas of content that make up the entire WordPress website. We have our files which consists of our images, your active theme and any plugins that you are using. Then you have your database which stores all of the data that is populated to display content on your website. It also stores the settings for your plugins and theme.

Now within the above mentioned areas that make up your website we need to make sure that all of the paths that are loading resources are loading with HTTPS in the URL structure. Doing this will ensure that you do not have a WordPress Mixed Content Warning and the browser padlock will be green.

Where WordPress Mixed Content Can Exist 

fix wordpress mixed content padlock files

Okay let’s get into the actual steps that you will take in order to fix a WordPress Mixed Content Warning. We have done our best to make this process as simple and as easy as possible so you can get it done on your own and get your browser bar to have that lovely GREEN padlock. It is only 3 steps!


STEP #1 – Install & Setup Really Simple SSL Plugin

This step here is actually going to save you a lot of time and it’s going to take care of many of the paths that are currently loading in HTTP on your website but need to be changed to load in HTTPS. You just have to love WordPress and the plugin developers that are part of the community that create these great free plugins that save us time and energy to accomplish important tasks on our website.

The developer that created this plugin has definitely done a great job. With over 5 million installs you can be sure that you will not have any issues using this plugin or will it have any negative impact on the speed or the functionality of your website.

Please watch the short video below to show you exactly how to install and setup this plugin.

There is an available pro version of the plugin which offers additional options but fixing the WordPress Mixed Content Warning on your website can be done with the free version.

How is the list of items that this free plug-in does on your website.

  1. The plugin handles most issues that WordPress has with SSL, like when you’re behind a reverse proxy/loadbalancer, or when no headers are passed which WordPress can use to detect SSL.
  2. All incoming requests are redirected to https. Default with an internal WordPress redirect, but you can also enable a .htaccess redirect.
  3. The siteurl and homeurl are changed to https.
  4. Your insecure content is fixed by replacing all http:// URL’s with https://, except hyperlinks to other domains. Dynamically, so no database changes are made (except for the siteurl and homeurl).

Now in some cases this may be the first and last step that you need to do to ensure that you have fixed the WordPress Mixed Content Warning and every path on your website is using HTTPS. The majority of the time there are however additional steps that need to be completed. See more below.

🎉 DOWNLOAD THE PLUGIN HERE
https://wordpress.org/plugins/really-simple-ssl/


STEP #2 – Install & Run Better Search and Replace Plugin

This step is going to ensure that any path which was missed in step #1 well be changed to HTTPS. The process in which we are going to complete right now is going to scan your entire database and make sure that any URL paths that you are searching for are replaced with the string you want in its place.

FOR EXAMPLE:
Search String = http://example.com
Replace String = https://example.com

You are basically doing a search for the HTTP version of your website URL and replacing it with the HTTPS version. I also like to do the same search and replace process adding the www in the search string and the replace string. After we complete this search and replace process we will be left with all of our website URLs in the database using the HTTPS prefix.

Please watch the short video below to show you exactly how to install and setup this plugin.

🎉 DOWNLOAD THE PLUGIN HERE
https://wordpress.org/plugins/better-search-replace/


STEP #3 – Run Why No Padlock Report

You have made it to step #3…congratulations! You are now in the home stretch of fixing the WordPress Mixed Content Warning. Give yourself a pat on the back and let’s dive into the reward for your hard work.

We now need to ensure that the browser padlock is green and everything is loading in HTTPS. To do this we are going to use a free online tool called “Why No Padlock“. 

The free version of this tool will allow you to scan any single URL and it will check to see if it passes the green padlock test. They do have a premium option which will allow you to scan all of the URLs on your website instead of one by one.

fix wordpress mixed content padlock why no padlock

🎉 USE WHY NO PADLOCK TOOL
https://www.whynopadlock.com


Some Odds and Ends Just In Case

So if you have gone through all of these steps and you are still having troubles getting the browser padlock to turn green and pass the “Why No Padlock” test there are some additional things that you can do to reach your goal.

If you have some type of path hard coded into your theme files or your plugin files and these paths are using HTTP, the steps that you just went through above would not correct those paths. If this is the case you have to track down where those paths are and manually change them.

Remember in the beginning of this post when we talked about using the browser console to identify what paths are loading as mixed content? This is the exact tool that you will need to drill down those hard coded HTTP URLs in your plugin files or theme files. The browser console tool will show you the path that is being loaded as mixed content. Once you identify this and make the adjustments to your files you can go back to step #3 and run your website through the “Why No Padlock” test.


Just Wrapping Up

We really hope that this article was helpful for you to fix the WordPress Mixed Content warning on your website. It is so important that every URL on your website loads with a green and happy padlock. If there is a URL on your website that has a broken padlock the browser will display a not secure message to your website visitor. Make sure that it looks like the GOOD example in the image below. Please comment below if you get stuck or have any questions.

WordPress mixed content

Leave a Reply

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

QUESTIONS