RewriteRule ^provajdery$ https://%0/ [R=301,L]
.php
RewriteRule ^provajdery\.php$ https://%0/ [R=301,L]
RewriteCond %{HTTP_HOST} ^(?>www\.|)[^.]+\.site\.ru$ [NC]
RewriteRule ^new\.php$ https://%0/ [R=301,L]
RewriteCond %{HTTP_HOST} ^domen\.site\.ru$ [NC]
RewriteRule ^new\.php$ https://domen.site.ru/ [R=301,L]
для одного слова или группы
(\S+ )
совпадений не найдёт.^\S+( \S+)*$
В словах не могут содержаться:
знаки препинания и прочие символы
\S
наверно должно быть перечисление нужных букв [a-zA-Zа-яёА-ЯЁ]
RewriteRule ^index\.php/(.*) http://site.local/$1 [R=301,L]
RewriteCond %{ENV:REDIRECT_STATUS} ^$
RewriteRule ^index\.php(?:/(.*)|) http://site.local/$1 [R=301,L]
<IfModule mod_rewrite.c>
<IfModule mod_negotiation.c>
Options -MultiViews -Indexes
</IfModule>
RewriteEngine On
# Handle Authorization Header
RewriteCond %{HTTP:Authorization} .
RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}]
# Redirect Trailing Slashes If Not A Folder...
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_URI} (.+)/$
RewriteRule ^ %1 [L,R=301]
# Send Requests To Front Controller...
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^ index.php [L]
</IfModule>
<IfModule mod_rewrite.c>
<IfModule mod_negotiation.c>
Options -MultiViews -Indexes
</IfModule>
RewriteEngine On
RewriteRule ^index\.php/(.*) http://site.local/$1 [R=301,L]
RewriteCond %{HTTP_HOST} ^www\. [NC]
RewriteRule .* http://site.local/$0 [R=301,L]
# Handle Authorization Header
RewriteCond %{HTTP:Authorization} .
RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}]
# Redirect Trailing Slashes If Not A Folder...
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_URI} (.+)/$
RewriteRule ^ %1 [L,R=301]
# Send Requests To Front Controller...
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^ index.php [L]
</IfModule>
на любой раскладке?
RewriteRule ^shop/(.+)$ https://gsmedicine.ru/$1 [R=301,L]
/<p>(?:(?!<\/p>).)*?<form.+?<\/p>/g
nezzard, но почему регулярки, а не .querySelectorAll()?