RewriteEngine on RewriteCond %{HTTP_HOST} ^(www\.)?jpicforum\.info RewriteRule (.*) http://jpicforum.info/forum/$1 [R=301,L]