Answer the question
In order to leave comments, you need to log in
Htaccess redirect from http to https?
Good afternoon. There is a site. It has an htaccess file. There was this code:
AddDefaultCharset UTF-8
RewriteEngine On
RewriteRule ^([A-Za-z0-9-/]+)$ /index.php?page=$1 [L]
RewriteEngine On
RewriteCond %{HTTPS} =off
RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI} [QSA,L]
RewriteEngine On
RewriteCond %{HTTPS} =off
RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI} [QSA,L]
RewriteRule ^([A-Za-z0-9-/]+)$ /index.php?page=$1 [L]
Answer the question
In order to leave comments, you need to log in
Why don't you enable forced HTTPS?
stackoverflow.com/questions/4398951/force-ssl-http...
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question