Explorar o código

htaccess fixe

Bachir Soussi Chiadmi %!s(int64=8) %!d(string=hai) anos
pai
achega
f6ee366a71
Modificáronse 1 ficheiros con 2 adicións e 3 borrados
  1. 2 3
      .htaccess

+ 2 - 3
.htaccess

@@ -84,9 +84,8 @@ DirectoryIndex index.php index.html index.htm
   RewriteRule ^ http://www.materio.com%{REQUEST_URI} [L,R=301]
 
   # SSL
-  # RewriteCond %{HTTPS} off [OR]
-  # RewriteCond %{HTTP_HOST} ^materio\.com*
-  # RewriteRule ^(.*)$ https://www.materio.com/$1 [L,R=301]
+  RewriteCond %{HTTPS} off
+  RewriteRule ^(.*)$ https://www.materio.com/$1 [L,R=301]
 
 
   # If your site can be accessed both with and without the 'www.' prefix, you