There are 2 domains ab.ru and ab2.ru and they are tied to the same site files. How to correctly register correctly so that all pages of the form ab2.ru/one redirect to ab.ru? Now spelled as follows:
RewriteEngine On RewriteCond %{HTTP_HOST} ^ab2\.ru RewriteRule (.*) http://ab.ru/$1 [R=301,L]