From d96c17454b23b9b9e2849e45d26919281002b793 Mon Sep 17 00:00:00 2001 From: Bachir Soussi Chiadmi Date: Wed, 2 Dec 2015 11:40:34 +0100 Subject: [PATCH] updated htaccess --- .htaccess | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/.htaccess b/.htaccess index fe810d01..3a79d098 100755 --- a/.htaccess +++ b/.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