|
@@ -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:
|