RewriteEngine On RewriteCond %{HTTP_HOST} ^dverebrany.sk [NC] RewriteRule ^(.*)$ http://www.dverebrany.sk/$1 [L,R=301]