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