So I created an .htaccess with this code: Options +FollowSymlinks RewriteEngine on RewriteCond %{HTTP_HOST} !^www\.domain\.com RewriteRule (.*) http://www.domain.com/$1 [R=301,L] Code (markup): I have a site in the public_html/domain directory, but the actual forum is in public_html/domain/forum directory. I want to rewrite domain.com to www.domain.com, as well as domain.com/forum/whatever to www.domain.com/forum/whatever. By placing the .htaccess into public_html/domain, shouldn't this work? I have no .htaccess file in public_html/, all the other sites' .htaccess files are within their respective directories. When I put the .htaccess in public_html/domain, it did redirect domain.com to www.domain.com, but when I went to domain.com/forum/index.php, it doesn't forward to www.domain.com/forum/index.php, but instead it forwards to my domain home at www.domain.com/index.php. Why is this happening, and how do I correct this? Also, if I visit a URL like this, it works fine: http://www.domain.com/forum/showthre...t=10332&page=2 If I simply remove the www out in front http://domain.com/forum/showthread.php?t=10332&page=2, an error comes up saying that page doesn't exist. Shouldn't it simply redirect the user to instead of saying in doesn't exist? Thanks in advance! Any ideas to resolve this are greatly appreciated.