htaccess fixe
This commit is contained in:
parent
66ee9c6657
commit
12fe570fbd
@ -101,7 +101,7 @@ DirectoryIndex index.php index.html index.htm
|
|||||||
# (http://example.com/... will be redirected to http://www.example.com/...)
|
# (http://example.com/... will be redirected to http://www.example.com/...)
|
||||||
# uncomment the following:
|
# uncomment the following:
|
||||||
RewriteCond %{HTTPS} off [OR]
|
RewriteCond %{HTTPS} off [OR]
|
||||||
RewriteCond %{HTTP_HOST} .
|
# RewriteCond %{HTTP_HOST} .
|
||||||
RewriteCond %{HTTP_HOST} !^www\. [NC]
|
RewriteCond %{HTTP_HOST} !^www\. [NC]
|
||||||
# RewriteRule ^ http%{ENV:protossl}://www.%{HTTP_HOST}%{REQUEST_URI} [L,R=301]
|
# RewriteRule ^ http%{ENV:protossl}://www.%{HTTP_HOST}%{REQUEST_URI} [L,R=301]
|
||||||
RewriteRule ^ https://www.%{HTTP_HOST}%{REQUEST_URI} [L,R=301]
|
RewriteRule ^ https://www.%{HTTP_HOST}%{REQUEST_URI} [L,R=301]
|
||||||
|
Loading…
x
Reference in New Issue
Block a user