How to Fix Common SSL Issues in WordPress?

Moving a WordPress site to SSL can create sometimes unexpected issues. If you are adding SSL to existing WordPress site and are running in errors, then you are in lucky. In this article, we will cover all the method to fix common SSL issues in WordPress.

What is SSL / HTTPS and why should you start using it?

SSL / HTTPS is an encryption method that secures the connection between users’ browsers and hosting server. It makes difficult for hackers to eavesdrop on the connection.

Every SSL / HTTPS certificate has a unique SSL Certificate for identification purposes. If a server is affected to be on HTTPS, and its certificate does not match, then most browsers will warn users from connecting to the website.

Last year, Google inform to improve overall web security by encouraging website owners to start using SSL / HTTPS. Since then, Google’s Chrome web browser marks all websites without SSL certificate as “Not Secure”.

Not Secure

The label ‘Not Secure’ in the browser’s address bar gives a bad impression about your business to your customers.

If you want to make an online store or you want to use payment services such as PayPal, Strip, etc. you need SSL / HTTPS enabled.

Let’s look at some Common SSL Issues in WordPress and how to fix them.


This error message is showing in Google Chrome. Other browsers display this error in different type. Basically it warns users that their connection to your website is unsafe.


This error message indicates that the user’s browser has not accepted the certificate submitted by the website. It can be caused by a number of factors:

1) The SSL certificate is issued for another domain name or subdomain.

2) The certificate has expired.

3) Browser doesn’t identify certificate issuing authority.

If you have purchased an SSL certificate and have requested your WordPress hosting provider to install it for you, then you can contact certificate provider to fix it.

If you have manually installed the SSL certificate on your site, try reinstalling it or contact your SSL certificate provider for help.

2. Fix Mixed Content Errors After Moving WordPress to SSL / HTTPS

Mixed content errors are due to sources (images, scripts, or stylesheets) that are still loading using URLs in the unsafe HTTP protocol.

In this case, you will not be able to see a secure padlock icon in the address bar of your website.

Connection Not Secure

There are two method to fix SSL / HTPS mixed content errors in WordPress. We will show you both of them and you can choose one that works best for you.

i) Fix mixed content errors in WordPress by using a Plugin

This is an easy method for freshers. Just install and activate the really simple SSL plugin. For more information, see our best Guide on how to install the WordPress Plugin.

After activation, you have to go to Settings »SSL page to review plugin settings. Really simple SSL plugin is automatically take care of SSL / HTTPS settings and fix mixed content errors.

Really Simple SSl Setting

ii) Manually Fix Mixed Content Errors in WordPress

Manually fixing mixed content errors is more effective and better for performance. You have check and make sure that you are using HTTPS in WordPress settings. Go to Settings »General Page and see the WordPress address and site address options have HTTPS URLs.


If you find URLs starting with HTTP, then you need convert to HTTPS and click Save Changes button to store your settings.

After this, you need to find the old HTTP URL in your WordPress database and replace all with the new HTTPS URL.

You can do this easily by installing and activating the Better Search Replace plugin. For more information, see our best Guide on how to install the WordPress Plugin.

After activation, you need to look at Tools » Better Search Replace page. In the ‘Search’ field, you must add your website URL with HTTP After that, add your website URL with https in the ‘Replace’ field.

The plugin will now automatically update the url in your WordPress database.

If you are still notice mixed content errors, then troubleshoot URLs in your WordPress theme and plugins.

Using your browser’s Inspector Tool and find out the resources due to errors and where they are loading from. You have to find them in your WordPress theme and replace the HTTP with HTTPS.

3. Fix WordPress HTTP to HTTPS Redirect

WordPress will not automatically redirect HTTP requests to HTTPS excep you ask to do so. If you are actually using plugins like Really Simple SSL, it will take care of the redirect. Otherwise, you have to set up a redirect manually.

To set up HTTP over HTTPS redirects, you must add the following code to your .htaccess file.

RewriteEngine On
RewriteCond %{HTTPS} off
RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]

I hope this article has helped you fix some common issues with SSL / HTTPS in WordPress. If you have any problem that is not included in this article, please leave a comment to let us know. I will update the article with the solution. You may also want to look at our step by step instructions to add SSL certificate Or Free SSL Certificate in your WordPress websites for beginners.

2 thoughts on “How to Fix Common SSL Issues in WordPress?”

Leave a Comment