PDA

View Full Version : Point parked domain to subdirectory


yahoo
2007-08-18, 09:06 AM
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/

yahoo
2007-08-18, 09:06 AM
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