Mixed content – SSL http/https issue
-
Hi All,
Approximately 2 months ago I installed a SSL certificate on my site, catherinerushforth.com. I changed the site and WordPress URL in the admin area of WordPress to include https:// instead of https://. All was fine.
Then, about 2 weeks ago I started to have a problem with “Mixed Content” errors on all pages except the main home page. There doesn’t seem to be an issue when viewing the site with Safari but there is a problem with Chrome, Firefox and Internet Explorer. I inspected the Javascript console in Chrome (as an example) and saw multiple “Mixed Content” errors, including:
Mixed Content: The page at ‘https://catherinerushforth.com/specialist-safeguarding/safer-recruitment-training/’ was loaded over HTTPS, but requested an insecure stylesheet ‘https://catherinerushforth.com/wp-content/themes/x/framework/css/site/stacks/integrity-light.css?ver=4.0.0’. This request has been blocked; the content must be served over HTTPS.
and,
Mixed Content: The page at ‘https://catherinerushforth.com/specialist-safeguarding/safer-recruitment-training/’ was loaded over HTTPS, but requested an insecure script ‘https://catherinerushforth.com/wp-includes/js/jquery/jquery.js?ver=1.11.2’. This request has been blocked; the content must be served over HTTPS.
This is what I have do so far to try and fix these mixed content errors:
1. Changed https:// to https:// in the WordPress Admin section for the site and WordPress URLs (Settings/General)
2. I’ve added “define(‘FORCE_SSL_ADMIN’, true);” to the top of the wp-config.php file.
3. I’ve added the following pieces of code to the .htaccess file:
RewriteEngine on RewriteCond %{HTTP_HOST} ^catherinerushforth.com [NC] RewriteRule ^(.*)$ https://catherinerushforth.com/$1 [L,R=301]
With this code I get “ERR_TOO_MANY_REDIRECTS”
4. I’ve also tried the plugin, WordPress HTTPS (SSL).
None of the above have worked.
Does anyone know what I am doing wrong and/or have any suggestions as to how I can fixed this issue?
Many thanks.
David
WordPress version: 4.2.2
Theme: X-theme v.4 (although issue was the same in previous version of this theme)
Site: catherinerushforth.com
- The topic ‘Mixed content – SSL http/https issue’ is closed to new replies.