Browse Source

htaccess again

Signed-off-by: bachy <git@g-u-i.net>
bachy 11 years ago
parent
commit
8c09d74e68
1 changed files with 2 additions and 1 deletions
  1. 2 1
      .htaccess

+ 2 - 1
.htaccess

@@ -73,13 +73,14 @@ DirectoryIndex index.php index.html index.htm
 
 # 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]
+  RewriteRule ^ http://www.materio.com/%{REQUEST_URI} [L,R=301]
 
 
   # If your site can be accessed both with and without the 'www.' prefix, you