Старт

This commit is contained in:
2023-11-07 19:51:49 +06:00
commit 86542a157f
5002 changed files with 199551 additions and 0 deletions

11
.htaccess Normal file
View File

@ -0,0 +1,11 @@
RewriteEngine on
Options -Indexes
# Убирает версию файла из file_v1234567890.js в file.js
RewriteRule ^(.*)_v[0-9]*\.(css|js|gif|png|jpg)$ $1.$2 [L]
#Если в запросе есть строка .html то перенаправляем запрос в другой файл
RewriteCond %{REQUEST_URI} ^.*$ [NC]
RewriteRule ^(.*)\.html$ /index.php?url=$1.html [L]
RewriteRule ^ru/$ /index.php?url=$1 [L]