htaccess fixe

This commit is contained in:
Bachir Soussi Chiadmi 2015-11-24 13:23:18 +01:00
parent 26ab9aa56b
commit edba04f103

View File

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