Apache Redirects
I should have done this years ago, but I finally set up an automatic redirect from all http websites to https. If the https stuff is already configured correctly, just need to add the following. I put it in my vhosts file.
RewriteEngine On
RewriteCond %{SERVER_PORT} !443
RewriteRule ^(/(.*))?$ https://%{HTTP_HOST}/$1 [R=301,L]
A simple Redirect rule didn’t work because we have a bunch of sites with a tilde in the link. And the simple redirect always screwed those up. The above worked fine.