Answer the question
In order to leave comments, you need to log in
Sudden TOO_MANY_REDIRECTS and sad nic.ru?
Once upon a time there was a site that did not touch anyone, it was on nic.ru at an inexpensive tariff (hosting). Everything worked, but today TOO_MANY_REDIRECTS appeared. Of the redirects, only resolving issues with www and https. I commented out the site is resurrected.
Here is htaccess:
RewriteEngine on
#это закоментил, что бы заработало
#RewriteCond %{HTTP_HOST} ^www\.(.*) [NC]
#RewriteRule ^(.*)$ https://%1/$1 [R=301,L]
#RewriteCond %{SERVER_PORT} ^80$
#RewriteRule ^(.*)$ https://%{SERVER_NAME}%{REQUEST_URI} [L,R]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . index.php
Answer the question
In order to leave comments, you need to log in
RewriteCond %{SERVER_PORT} ^80$
change toRewriteCond %{HTTPS} !on
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question