Answer the question
In order to leave comments, you need to log in
How to set up htaccess redirects?
After inserting it into .htaccess, it redirects to https with ERR_TOO_MANY_REDIRECTS and I can't get it back
RewriteEngine On
RewriteCond %{SERVER_PORT} 80
RewriteRule ^(.*)$ https://site.ru/$1 [R,L]
Please help me fix it.
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