RewriteCond %{HTTP_COOKIE} REG=
RewriteRule ^ http://example.com/reg [R=302,L]
https://api.whatsapp.com/send?phone=79999074426&text=Покажи, как работает помошник в WhatsApp
RewriteEngine on
RewriteRule ^page$ "https://api.whatsapp.com/send?phone=79999074426&text=Покажи, как работает помошник в WhatsApp" [R=301,L]
Options +FollowSymLinks
DirectorySlash Off
RewriteEngine On
RewriteRule ^blog/$ /blog [R=301,L]
RewriteRule ^blog$ /blog/index.php [L]
# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>
# END WordPress
Options +FollowSymLinks
DirectorySlash Off
RewriteEngine On
RewriteRule ^blog/$ /blog [R=301,L]
RewriteRule ^blog$ /blog/index.php
# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>
# END WordPress
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
RedirectMatch 301 ^(.*)$ http://www.1домен.com/
Redirect 301 /внутр-страница http://www.2домен.com/
А если запрос будет
/index.php
,/robots.txt
,/sitemap.xml
,/favicon.ico
или к другим файлам?