^(.{10,})/(.+)/$^(.+)/([^/]{10,})/$RewriteEngine on
RewriteRule ^admin($|/) - [L]
RewriteRule ^$ index.php?module=page&url=main [L,QSA]
RewriteRule ^([^/]*)/?$ index.php?module=category&url=$1 [L,QSA]
RewriteRule ^([^/]*)/([^/]*)/?$ index.php?module=page&url=$1 [L,QSA] admin/run.php успешно совпадает с шаблоном ^admin/(.*)$ и происходит бесконечный цикл.admin/run.phpRewriteCond %{REQUEST_URI} !^/admin/run\.php
RewriteRule ^admin/(.*)$ /admin/run.php?request=$1 [QSA,L]RewriteCond $1 !^run\.php
RewriteRule ^admin/(.*)$ /admin/run.php?request=$1 [QSA,L]RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^admin/(.*)$ /admin/run.php?request=$1 [QSA,L]RewriteCond %{ENV:REDIRECT_STATUS} ^$
RewriteRule ^admin/(.*)$ /admin/run.php?request=$1 [QSA,L] RewriteCond %{QUERY_STRING} ^(\d+)([A-Z]+)$
RewriteRule ^$ /?course=%1&utm_source=sms&utm_term=%2 [R=301,L] RewriteCond %{REQUEST_URI} !^/(web)RewriteRule (.*) /web/$1RewriteEngine On
RewriteRule ^assets/(.*)$ /web/assets/$1 [L]
RewriteRule ^css/(.*)$ web/css/$1 [L]
RewriteRule ^js/(.*)$ web/js/$1 [L]
RewriteRule ^images/(.*)$ web/images/$1 [L]
RewriteCond %{REQUEST_URI} !^/(web)
RewriteRule (.*) /web/$1 [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /web/index.php RewriteCond %{QUERY_STRING} (?:^|&)(page-\d+)
RewriteRule ^category/$ https://site.ru/$0%1? [R=301,L] RewriteCond %{QUERY_STRING} (?:^|&)section=(termoobrabotka_galvanicheskih_pokritij)(?:$|&)
RewriteRule ^$ https://zctc.ru/sections/%1? [R=301,L]RewriteCond %{QUERY_STRING} (?:^|&)section=([^&]+)
RewriteRule ^$ https://zctc.ru/sections/%1? [R=301,L]sites/.htaccess<Files ~ "^(?!.*\.(html|css|js|png|jpe?g|gif|woff2?|ttf)$)">
Deny from all
</Files>sites/site1/admin/.htaccess<Files ~ "^.*">
Allow from all
</Files> RewriteCond %{THE_REQUEST} ^[^?]+\?\s
RewriteRule .* https://site.com/$0? [R=301,L]
RewriteCond %{THE_REQUEST} ^[^?]+//
RewriteRule .* https://site.com/$0 [R=301,L] RewriteCond %{THE_REQUEST} " /section/%20"
RewriteRule ^ https://site.ru/section/ [R=301,L]RewriteRule ^section/\s https://site.ru/section/ [R=301,L] RewriteCond %{THE_REQUEST} ^[^?]+//
RewriteRule .* /$0 [R=301,L] RewriteEngine On
RewriteRule ^somepage\.html$ https://newsite.ru/somepage/ [L,R=301]
RewriteRule ^somepage2\.html$ https://newsite.ru/somepage2/ [L,R=301]
RewriteRule ^(.*)$ https://newsite.ru/ [L,R=301] RewriteEngine On
RewriteCond %{REQUEST_FILENAME}.php -f
RewriteRule !.*\.php$ %{REQUEST_URI}.php [QSA,L]