Загрузил проект на гит сурс

This commit is contained in:
2026-08-08 11:41:09 +03:00
parent 1b6cc041bf
commit 42b6eff560
61 changed files with 4404 additions and 0 deletions
+15
View File
@@ -0,0 +1,15 @@
RewriteEngine On
Options -MultiViews
# 1) /index.html -> / (только при прямом запросе клиента)
RewriteCond %{THE_REQUEST} \s/+index\.html(?:[\s?]|$) [NC]
RewriteRule ^index\.html$ / [R=301,L,NC]
# 2) /page.html -> /page (только при прямом запросе клиента)
RewriteCond %{THE_REQUEST} \s/+(prices|portfolio|reviews|privacy|requisites)\.html(?:[\s?]|$) [NC]
RewriteRule ^(prices|portfolio|reviews|privacy|requisites)\.html$ /$1 [R=301,L,NC]
# 3) /page или /page/ -> /page.html (внутренний роутинг без редиректа)
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(prices|portfolio|reviews|privacy|requisites)/?$ $1.html [L,NC]