Commit 55de07c59232c159ba41a60ddd7480a1852dafa2
1 parent
bb03e2dd
htacess www
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
.htaccess
@@ -72,8 +72,8 @@ AddDefaultCharset utf-8 | @@ -72,8 +72,8 @@ AddDefaultCharset utf-8 | ||
72 | 72 | ||
73 | 73 | ||
74 | 74 | ||
75 | - RewriteRule ^.*$ frontend/web/index.php [C] | ||
76 | RewriteCond %{HTTP_HOST} ^([^www].*)$ | 75 | RewriteCond %{HTTP_HOST} ^([^www].*)$ |
76 | + RewriteRule ^.*$ frontend/web/index.php [C] | ||
77 | RewriteRule ^(.*)$ http://www.%1/$1 [L,R=301] | 77 | RewriteRule ^(.*)$ http://www.%1/$1 [L,R=301] |
78 | 78 | ||
79 | 79 |