diff --git a/.htaccess b/.htaccess index 5b3b3bef..108fac09 100644 --- a/.htaccess +++ b/.htaccess @@ -72,15 +72,15 @@ DirectoryIndex index.php index.html index.htm RewriteRule "(^|/)\." - [F] # custom - # RewriteCond %{HTTP_HOST} ^basebeta\.materio\.com [OR] - # RewriteCond %{HTTP_HOST} ^materio\.com [OR] - # RewriteCond %{HTTP_HOST} ^www\.materio\.fr [OR] - # RewriteCond %{HTTP_HOST} ^materio\.fr [OR] - # RewriteCond %{HTTP_HOST} ^www\.materio\.net [OR] - # RewriteCond %{HTTP_HOST} ^materio\.net [OR] - # RewriteCond %{HTTP_HOST} ^www\.materio\.eu [OR] - # RewriteCond %{HTTP_HOST} ^materio\.eu [OR] - # RewriteRule ^ http://www.materio.com%{REQUEST_URI} [L,R=301] + RewriteCond %{HTTP_HOST} ^basebeta\.materio\.com [OR] + RewriteCond %{HTTP_HOST} ^materio\.com [OR] + RewriteCond %{HTTP_HOST} ^www\.materio\.fr [OR] + RewriteCond %{HTTP_HOST} ^materio\.fr [OR] + RewriteCond %{HTTP_HOST} ^www\.materio\.net [OR] + RewriteCond %{HTTP_HOST} ^materio\.net [OR] + RewriteCond %{HTTP_HOST} ^www\.materio\.eu [OR] + RewriteCond %{HTTP_HOST} ^materio\.eu [NC] + RewriteRule ^ http://www.materio.com%{REQUEST_URI} [L,R=301] # If your site can be accessed both with and without the 'www.' prefix, you