Thanks.
Thanks.
It seems to have worked?
Yes.
Good
Here's what I use in my .htaccess file.
There's no specific domain name required. It's not my code but it works well in redirecting any 'normal' url to the https site.#Rewrite everything to https
RewriteEngine On
RewriteCond %{HTTPS} !=on
RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]
my-site.com redirects to https:my-site.com
www.my-site.com redirects to https:my-site.com
http://my-site.com redirects to https:my-site.com
etc.
Egg
Intel i7 - 4790K Quad Core + 16 GB Ram + NVIDIA Geforce GTX 1660 Graphics Card + MSI Optix Mag321 Curv monitor + Samsung 970 EVO Plus 500GB SSD + 232 GB SSD + 250 GB SSD portable drive + ISP = BT + Web Hosting = TSO Host
I would just like to put on record how useful this advice was, saving me hours. This forum is my go to site when problems arise on the basis that I probably won't be the first to encounter a problem and that someone has probably already solved it.
Thank you to the problem solvers!
Edited to point out that the missing bit in the quote (the useful bit) is in the previous posting.
My pleasure Ian
Egg
Intel i7 - 4790K Quad Core + 16 GB Ram + NVIDIA Geforce GTX 1660 Graphics Card + MSI Optix Mag321 Curv monitor + Samsung 970 EVO Plus 500GB SSD + 232 GB SSD + 250 GB SSD portable drive + ISP = BT + Web Hosting = TSO Host
Bookmarks