Browse Source

updated htaccess

Bachir Soussi Chiadmi 8 years ago
parent
commit
d96c17454b
1 changed files with 8 additions and 8 deletions
  1. 8 8
      .htaccess

+ 8 - 8
.htaccess

@@ -69,15 +69,15 @@ DirectoryIndex index.php index.html index.htm
   # CUSTOMS
   # 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} ^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
-  # RewriteRule ^ http://www.materio.com%{REQUEST_URI} [L,R=301]
+  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
+  RewriteRule ^ https://www.materio.com%{REQUEST_URI} [L,R=301]
 
   # Set "protossl" to "s" if we were accessed via https://.  This is used later
   # if you enable "www." stripping or enforcement, in order to ensure that