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
Minis Forum UM780XTX AMD Ryzen7 7840HS with AMD Radeon 780M Graphics + 32 GB Ram + MSI Optix Mag321 Curv monitor + 1Tb 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
Minis Forum UM780XTX AMD Ryzen7 7840HS with AMD Radeon 780M Graphics + 32 GB Ram + MSI Optix Mag321 Curv monitor + 1Tb SSD + 232 GB SSD + 250 GB SSD portable drive + ISP = BT + Web Hosting = TSO Host
Bookmarks