htaccess fixe

This commit is contained in:
Bachir Soussi Chiadmi 2015-11-24 12:12:57 +01:00
parent 1cc2c9af75
commit a5edc41323

View File

@ -71,7 +71,8 @@ DirectoryIndex index.php index.html index.htm
# downloaded.
RewriteRule "(^|/)\." - [F]
# custom
# redirect all materiau domains to materio.com
RewriteCond %{HTTPS} off
RewriteCond %{HTTP_HOST} ^basebeta\.materio\.com [OR]
RewriteCond %{HTTP_HOST} ^materio\.com [OR]
RewriteCond %{HTTP_HOST} ^www\.materio\.fr [OR]
@ -83,6 +84,8 @@ DirectoryIndex index.php index.html index.htm
RewriteRule ^ http://www.materio.com%{REQUEST_URI} [L,R=301]
# 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
# URL, either WITH or WITHOUT the 'www.' prefix. Choose ONLY one option: