RewriteEngine On RewriteCond %{HTTP_HOST} ^best4you\.net$ [NC] RewriteRule ^(.*)$ http://yiyi.ru/$1 [R=301,L] RewriteCond %{HTTP_HOST} ^www.best4you\.net$ [NC] RewriteRule ^(.*)$ http://yiyi.ru/$1 [R=301,L]