RewriteEngine on RewriteCond %{HTTP_HOST} !^www\.modellbahn-community\.net$ [NC] RewriteRule ^(.*)$ http://www.modellbahn-community.net/$1 [L,R=301]