Welcome to WebmasterWorld Guest from 126.96.36.199 , register , free tools , login , search , subscribe , help , library , announcements , recent posts , open posts Pubcon Platinum Sponsor
Want to Point Domain Name to Subdirectory Can this be done with .htaccess? ccDan msg:3678296 5:51 am on Jun 19, 2008 (gmt 0) I have a website with a domain name. I have another domain name that I would like to redirect to a subdirectory of the main domain name, as in:
...] seconddomain.dom would redirect to [ ...] maindomain.dom
I haven't had any luck finding a way to do that in .htaccess. I don't want to have to setup a separate website for seconddomain.dom just to redirect it to the main domain name. It seems like I should be able to do that with .htaccess, but I haven't figured out a way. I searched in Google and didn't come up with anything there.
Can it be done?
jdMorgan msg:3679056 9:55 pm on Jun 19, 2008 (gmt 0)
You want an internal rewrite, not a redirect.
> I haven't had any luck finding a way to do that...
Try searching WebmasterWorld for your thread title -- We've covered this issue many times, and at least once already this week. :)