From edba04f103bd8593c20561416b21278a0b167fc2 Mon Sep 17 00:00:00 2001 From: Bachir Soussi Chiadmi Date: Tue, 24 Nov 2015 13:23:18 +0100 Subject: [PATCH] htaccess fixe --- .htaccess | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/.htaccess b/.htaccess index 6c8a6e8a..b54500e0 100755 --- a/.htaccess +++ b/.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