htaccess fixe
This commit is contained in:
parent
1cc2c9af75
commit
a5edc41323
@ -71,7 +71,8 @@ DirectoryIndex index.php index.html index.htm
|
|||||||
# downloaded.
|
# downloaded.
|
||||||
RewriteRule "(^|/)\." - [F]
|
RewriteRule "(^|/)\." - [F]
|
||||||
|
|
||||||
# custom
|
# redirect all materiau domains to materio.com
|
||||||
|
RewriteCond %{HTTPS} off
|
||||||
RewriteCond %{HTTP_HOST} ^basebeta\.materio\.com [OR]
|
RewriteCond %{HTTP_HOST} ^basebeta\.materio\.com [OR]
|
||||||
RewriteCond %{HTTP_HOST} ^materio\.com [OR]
|
RewriteCond %{HTTP_HOST} ^materio\.com [OR]
|
||||||
RewriteCond %{HTTP_HOST} ^www\.materio\.fr [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]
|
RewriteRule ^ http://www.materio.com%{REQUEST_URI} [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
|
||||||
# URL, either WITH or WITHOUT the 'www.' prefix. Choose ONLY one option:
|
# URL, either WITH or WITHOUT the 'www.' prefix. Choose ONLY one option:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user