RewriteCond %{ENV:REDIRECT_STATUS} ^$
RewriteRule ^page-cache/(.*?)(\.html|$) http://site.com/$1 [R=301,L]
RewriteRule ^$ page-cache/pc__index__pc.html [L]
RewriteCond %{DOCUMENT_ROOT}/page-cache/$1.html -f
RewriteRule (.+) page-cache/$1.html [L] DirectorySlash Off
ErrorDocument 404 /404.html
RewriteEngine on
RewriteBase /
RewriteCond %{THE_REQUEST} "^\S+ /([^?.]+)\.html"
RewriteRule ^(?:index|([^.]+))\.html$ https://zaoks.ru/$1 [R=301,L]
RewriteCond %{HTTPS} !on [OR]
RewriteCond %{HTTP_HOST} ^www\. [NC]
RewriteRule ^(.*)$ https://zaoks.ru/$1 [R=301,L]
RewriteCond %{DOCUMENT_ROOT}/$1.html -f
RewriteRule ^([^.]+)$ /$1.html [L]
<Files ~ "\.pdf$">
Header set X-Robots-Tag "noindex, nofollow"
</Files>RedirectMatch 301 ^/(.*?)/remont/remont(/.*) http://site.ru/$1$2RewriteRule ^(.*?)/remont/remont(/.*) http://site.ru/$1$2 [R=301,L] RewriteCond %{QUERY_STRING} &product_id=514(&|$)
RewriteRule ^(.*)$ https://site/portfeli/portfel-transformer-numanni-pw357-2371? [L,R=301] RewriteCond %{QUERY_STRING} ^$
RewriteRule ^$ https://example.com/page/ [R=301,L]RewriteCond %{THE_REQUEST} " /wp/ "
RewriteRule ^ https://example.com/page/ [R=301,L] RewriteCond %{THE_REQUEST} " /portfolio\.php\?id=(\d+)"
RewriteRule ^ /%1? [R=301,L]
RewriteRule ^([0-9]+)$ /portfolio.php?id=$1 [L,QSA]RewriteCond %{ENV:REDIRECT_STATUS} ^$
RewriteCond &%{QUERY_STRING} &id=(\d+)
RewriteRule ^portfolio\.php$ /%1? [R=301,L]
RewriteRule ^([0-9]+)$ /portfolio.php?id=$1 [L,QSA] $.ajax({ url: "reg_server.php",
"reg_server.php" на "reg_server"RewriteCond %{THE_REQUEST} " (/[^?/]+)\.php" RewriteCond %{THE_REQUEST} "^GET (/[^?/]+)\.php" RewriteCond %{SERVER_PORT} !^443$ [OR]
RewriteCond %{HTTP_HOST} ^www\. [NC]
RewriteRule ^(.*)$ https://site.ru/$1 [R=301,L]RewriteCond %{SERVER_PORT} !^443$ [OR]
RewriteCond %{HTTP_HOST} ^www\. [NC]
RewriteCond %{HTTP_HOST} ^(?>www\.|)(.+) [NC]
RewriteRule ^(.*)$ https://%1/$1 [R=301,L]RewriteCond %{SERVER_PORT}%{HTTP_HOST} !^443(?!www\.) [NC]
RewriteCond %{HTTP_HOST} ^(?>www\.|)(.+) [NC]
RewriteRule ^(.*)$ https://%1/$1 [R=301,L]RewriteCond %{SERVER_PORT}%{HTTP_HOST} ^(?|443www\.(.+)|80(?>www\.|)(.+)) [NC]
RewriteRule ^(.*)$ https://%1/$1 [R=301,L] RewriteCond %{HTTP_HOST} ^(?>www\.|).+\.site\.ru$ [NC]
RewriteRule ^robots\.txt$ /robots_1.txt [L] RewriteBase /
...
RewriteBase /dash-dev/dist
...RewriteRule ^(.*)$ $1.php [L] и перенаправляет на ajax/signup.php, а после добавления RewriteBase получается /dash-dev/dist/ajax/signup.php и обработка начинается заново с начала .htaccessRewriteRule . /dash-dev/dist [L]RewriteBase /dash-dev/dist RewriteCond %{REQUEST_URI} /[^/.]+$
RewriteRule ^(.*)$ https://localhost/$1/ [R=301,L]
RewriteCond %{THE_REQUEST} /index\.php [OR]
RewriteCond %{HTTPS} !on [OR]
RewriteCond %{HTTP_HOST} ^www\. [NC]
RewriteRule ^(.*?)(index\.php|$) https://localhost/$1 [R=301,L] RedirectMatch 301 ^/videoroliki/ https://site.ru/RewriteEngine on
RewriteRule ^videoroliki/ https://site.ru/ [R=301,L] RewriteCond %{THE_REQUEST} ([^\s]*)\.php(\?[^\s]*)? RewriteRule (.*) %1 [R=301,L]
RewriteCond %{THE_REQUEST} "^GET /(\S*)\.php"
RewriteRule . https://atm-stroy.com.ua/%1 [R=301,L]<form class="form-submit" method="POST" action="/mail.php">