diff --git a/.htaccess b/.htaccess index e16822e8..7e090a0e 100644 --- a/.htaccess +++ b/.htaccess @@ -88,9 +88,15 @@ DirectoryIndex index.php index.html index.htm # RewriteRule ^ http://%1%{REQUEST_URI} [L,R=301] # custom - RewriteCond %{HTTP_HOST} !^basebeta\. [NC] - RewriteRule ^ http://www.%{HTTP_HOST}%{REQUEST_URI} [L,R=301] - + RewriteCond %{HTTP_HOST} !^basebeta\.materio\.com [NC] + RewriteCond %{HTTP_HOST} !^www\.materio\.fr [NC] + RewriteCond %{HTTP_HOST} !^materio\.fr [NC] + RewriteCond %{HTTP_HOST} !^www\.materio\.net [NC] + RewriteCond %{HTTP_HOST} !^.materio\.net [NC] + RewriteCond %{HTTP_HOST} !^www\.materio\.eu [NC] + RewriteCond %{HTTP_HOST} !^.materio\.eu [NC] + RewriteRule ^ http://www.materio.com%{REQUEST_URI} [L,R=301] + # Modify the RewriteBase if you are using Drupal in a subdirectory or in a # VirtualDocumentRoot and the rewrite rules are not working properly. # For example if your site is at http://example.com/drupal uncomment and