Answer the question
In order to leave comments, you need to log in
Is the http -> https redirect not working correctly?
I want to set up a rediket from http to https. I write the following in the .htaccess file:
RewriteCond %{HTTP:HTTPS} !=on [NC]
RewriteRule ^(.*)$ portal.ru$1 [R=301,L]
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