Commit 4986f314ba08015bc4f0edcb8651f2882e3c1e81
1 parent
55de07c5
htacess www
Showing
1 changed file
with
1 additions
and
4 deletions
Show diff stats
.htaccess
| @@ -70,12 +70,9 @@ AddDefaultCharset utf-8 | @@ -70,12 +70,9 @@ AddDefaultCharset utf-8 | ||
| 70 | 70 | ||
| 71 | RewriteCond %{REQUEST_FILENAME} !-d | 71 | RewriteCond %{REQUEST_FILENAME} !-d |
| 72 | 72 | ||
| 73 | + RewriteRule ^.*$ frontend/web/index.php [L] | ||
| 73 | 74 | ||
| 74 | 75 | ||
| 75 | - RewriteCond %{HTTP_HOST} ^([^www].*)$ | ||
| 76 | - RewriteRule ^.*$ frontend/web/index.php [C] | ||
| 77 | - RewriteRule ^(.*)$ http://www.%1/$1 [L,R=301] | ||
| 78 | - | ||
| 79 | 76 | ||
| 80 | 77 | ||
| 81 | </IfModule> | 78 | </IfModule> |