updated htaccess

This commit is contained in:
Bachir Soussi Chiadmi 2015-12-02 11:40:34 +01:00
parent ed6ae84181
commit d96c17454b

View File

@ -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