Fix HTTP issue with WordPress

If the SSL Certificates are valid but not working, it could be a couple of different things.

First Step

  1. Navigate to WordPress > Settings > General
  2. Update the WordPress Address (URL) to https://
  3. Add the below to the .htaccess file
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteCond %{HTTPS} off
RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]

4. Add the below to the wp-config.php file.

define('FORCE_SSL_ADMIN', true);

Second Step

Fixing mixed content errors or unsecured images

Method one

  1. Log into PHP MyAdmin and do a search and find over the database tables.

Method two

2. Elementor has a search and replace feature Elementor > Tools > Replace URL Make sure you don’t have any trailing / or white space after the domain name.


Firefox can be more useful than chrome to give you more information about what is causing the unsecured connection warning.