When forced to use https in .htaccess, the site does not open with the error "ERR_TOO_MANY_REDIRECTS"
Without it, everything is working fine, what's the problem?
RewriteEngine on RewriteBase / RewriteCond %{HTTPS} off RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI} RewriteRule ^(login|register|reset-password|faq|change-password|logout|holo|about|my-account|contact|submit|check)?$ index.php?a=$1 [L] RewriteRule ^details-(.*)?$ index.php?a=details&id=$1 [L] RewriteRule ^recovery-(.*)?$ index.php?a=recovery&hash=$1 [L] RewriteRule ^refid=(.*)?$ index.php?refid=$1 [L] RewriteCond %{HTTP_HOST} ^www\.(.*) [NC] RewriteRule ^/?(.*) http://%1/$1 [L,R=permanent]