I bought another domain name for a site and I want it to go directly to a subdirectory. For example, if: mainurl.com goes to mainurl.com i want newurl.com to go to mainurl.com/new/
RewriteCond %{HTTP_HOST} www\.yournewdomain\.com RewriteRule (.*) http://www.yourolddomain.com/subdir [R=301,L] that should work =) rewrite rules are good for this type of stuff