Two things.
1) Search/replace the DB and change everything http to https for the home/siteURLs
2) https://ww.wp.xz.cn/plugins/wordpress-https/
And no, don’t remove the define.
Thread Starter
Andrew
(@snd26)
Thanks Ipstenu. I forgot I asked this question, I was focused on fixing my other problem with https subdomain errors that was because of a host misconfiguration.
I ended up using a htaccess code to force https:
# Https on everywhere
RewriteEngine On
RewriteCond %{HTTPS} !=on
RewriteRule ^ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]
I noticed that changing the database home/site URLs as you say, fixed broken https problems on some pages (where the https is orange) that is caused because of unsecure elements such as iframes and images that are still in http. All elements and all new uploaded media now have https that keeps the https green.
Do I still need that wordpress-https plugin? I had a look at it and I can’t think of any reason to have it now I have changed the site/home URLs to https and forcing https by htaccess and Everything https works fine without that plugin.
Thanks
I noticed that changing the database home/site URLs as you say, fixed broken https problems on some pages (where the https is orange) that is caused because of unsecure elements such as iframes and images that are still in http. All elements and all new uploaded media now have https that keeps the https green.
Well… Yes. That’s why I said to run the search and replace 🙂
You may be okay without the plugin, you may not. Some themes and plugins don’t always do things ‘smartly’ and that plugin will compensate for you.
Thread Starter
Andrew
(@snd26)
It turns out I did need that plugin after all because I was only testing things on my main site, but on all the sub domains elements were not secure. That plugin fixes the issue.
I only needed media such as images secure because my htaccess code seems to secure everything else so far on my multisite, I was trying to find something a little lighter and came across this:
https://ww.wp.xz.cn/plugins/ssl-insecure-content-fixer/
This only has a small file that secures uploaded content which is all I need. It also secures css, javscript and a few other things. Thought it was worth sharing if anyone chooses the same option as me with the htaccess to force https. This plugin works great.