Answer the question
In order to leave comments, you need to log in
Why is the redirect not working on the main page?
The redirect from http to https works on all pages except the main page
RewriteEngine on
RewriteCond %{HTTPS} !=on
RewriteRule ^(.*)$ https://%{HTTP_HOST}$1 [R,QSA]
The code worked correctly on the old server, after the move is not correct.
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question