Commit 92a204b7e1da112bdb986c42b478e9c998d01438

Authored by Dmytry Fedorchuk
1 parent fdb2e993

htacess www

Showing 1 changed file with 2 additions and 2 deletions   Show diff stats
@@ -71,9 +71,9 @@ AddDefaultCharset utf-8 @@ -71,9 +71,9 @@ AddDefaultCharset utf-8
71 RewriteCond %{REQUEST_FILENAME} !-d 71 RewriteCond %{REQUEST_FILENAME} !-d
72 72
73 RewriteCond %{HTTP_HOST} ^([^www].*)$ 73 RewriteCond %{HTTP_HOST} ^([^www].*)$
74 - RewriteRule ^(.*)$ http://www.%1/$1 [L] 74 + RewriteRule ^(.*)$ http://www.%1/$1 [R=301]
75 75
76 - RewriteRule ^.*$ frontend/web/index.php [L, R=301] 76 + RewriteRule ^.*$ frontend/web/index.php [L]
77 77
78 </IfModule> 78 </IfModule>
79 79