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