htaccess fixe

This commit is contained in:
Bachir Soussi Chiadmi 2015-11-24 12:34:56 +01:00
parent 87beabee92
commit bf84ac06cd

View File

@ -84,9 +84,9 @@ DirectoryIndex index.php index.html index.htm
RewriteRule ^ http://www.materio.com%{REQUEST_URI} [L,R=301] RewriteRule ^ http://www.materio.com%{REQUEST_URI} [L,R=301]
# SSL # SSL
# RewriteCond %{HTTPS} off RewriteCond %{HTTPS} off [OR]
# RewriteRule ^(.*)$ https://www.materio.com/$1 [L,R=301] RewriteCond %{HTTP_HOST} ^www.materio\.com*
RewriteRule ^(.*)$ https://materio.com/$1 [L,R=301]
# If your site can be accessed both with and without the 'www.' prefix, you # If your site can be accessed both with and without the 'www.' prefix, you
# can use one of the following settings to redirect users to your preferred # can use one of the following settings to redirect users to your preferred