This one's confusing me, and I hope someone can clarify this for me. I'm trying to have all non-www pages in a subdirectory redirect to a www option: http://domain.com/subdirectory/pagename.html REDIRECT TO http://www.domain.com/subdirectory.pagename.html where pagename.html = whatever name each page may be in that subdirectory Code (markup): What's the htaccess code to incorporate? Thanks for the help guys!
Hello iBBnet, it's easy, try this code: RewriteCond %{HTTP_HOST} !^www.domain.com [NC] RewriteRule (.*) http://www.domain.com/$1 [R=301,L] Code (markup): Petr