Przeglądaj źródła

Version 1.4.2: small htaccess fix

trendschau 4 lat temu
rodzic
commit
ed2ffa3fa2
1 zmienionych plików z 2 dodań i 2 usunięć
  1. 2 2
      .htaccess

+ 2 - 2
.htaccess

@@ -14,8 +14,8 @@ RewriteEngine On
 # RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI} [R=301,L]
 # RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI} [R=301,L]
 
 
 # Use this to redirect www to non-wwww on apache servers
 # Use this to redirect www to non-wwww on apache servers
-RewriteCond %{HTTP_HOST} ^www\.(.*)$ [NC]
-RewriteRule ^(.*)$ http://%1/$1 [R=301,L]
+# RewriteCond %{HTTP_HOST} ^www\.(.*)$ [NC]
+# RewriteRule ^(.*)$ http://%1/$1 [R=301,L]
 
 
 # Use this to redirect slash/ to url without slash on apache servers
 # Use this to redirect slash/ to url without slash on apache servers
 # RewriteCond %{REQUEST_FILENAME} !-d
 # RewriteCond %{REQUEST_FILENAME} !-d