Answer the question
In order to leave comments, you need to log in
http redirect to https htaccess?
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
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question