Browse Source

htaccess fixe

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

+ 2 - 3
.htaccess

@@ -58,15 +58,14 @@ DirectoryIndex index.php index.html index.htm
 
   # SSL
   # RewriteCond %{HTTPS} off [OR]
-  # RewriteCond %{HTTP_HOST} ^www.materio\.com*
-  # RewriteRule ^(.*)$ https://materio.com/$1 [L,R=301]
+  # RewriteCond %{HTTP_HOST} ^materio\.com*
+  # RewriteRule ^(.*)$ https://www.materio.com/$1 [L,R=301]
 
   # Redirect to HTTPS
   # RewriteCond %{HTTPS} off
   # RewriteCond %{HTTP:X-Forwarded-Proto} !https
   # RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]
 
-
   # CUSTOMS
   # redirect all materiau domains to materio.com
   RewriteCond %{HTTPS} off