Skip to content

Commit 26d59d3

Browse files
Update .htaccess
1 parent b4b4168 commit 26d59d3

File tree

1 file changed

+3
-9
lines changed

1 file changed

+3
-9
lines changed

frontend/web/.htaccess

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -15,18 +15,12 @@ php_value error_reporting 2039
1515
RewriteEngine On
1616

1717
# редиррект для seo
18-
RewriteCond %{HTTP_HOST} ^www.jhanway.ru
19-
RewriteRule (.*) http://jhanway.ru/$1 [R=301,L]
20-
21-
RewriteCond %{HTTP_HOST} ^www.jhanway.com
22-
RewriteRule (.*) http://jhanway.ru/$1 [R=301,L]
23-
24-
RewriteCond %{HTTP_HOST} ^jhanway.com
25-
RewriteRule (.*) http://jhanway.ru/$1 [R=301,L]
18+
RewriteCond %{HTTP_HOST} ^www.demo.ru
19+
RewriteRule (.*) http://demo.ru/$1 [R=301,L]
2620

2721
# Если это папка или файл, открываем её/его
2822
RewriteCond %{REQUEST_FILENAME} !-f
2923
RewriteCond %{REQUEST_FILENAME} !-d
3024
# В противном случае перенаправляем на index.php
3125
RewriteRule . index.php
32-
</IfModule>
26+
</IfModule>

0 commit comments

Comments
 (0)