One site has different content and is displayed in its own language for each domain, the question is that the redirection does not work, I can not understand what the error is, how to make each domain switch without 'www' to 'www' and load the desired domain , and not some one.
Options +FollowSymLinks RewriteEngine on RewriteCond %{HTTP_HOST} сайт.com.ua$ [NC] RewriteRule ^(.*)$ http://www.сайт.com.ua/$1 [L,R=301] RewriteCond %{HTTP_HOST} сайт.ru$ [NC] RewriteRule ^(.*)$ http://www.сайт.ru/$1 [L,R=301] RewriteCond %{HTTP_HOST} сайт.pl$ [NC] RewriteRule ^(.*)$ http://www.сайт.pl/$1 [L,R=301] RewriteCond %{HTTP_HOST} сайт.com$ [NC] RewriteRule ^(.*)$ http://www.сайт.com/$1 [L,R=301] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteCond %{REQUEST_URI} !.*\.(ico|gif|jpg|jpeg|png|js|css) RewriteRule ^([^?]*) index.php?_route_=$1 [L,QSA] Thank!