Welcome to WebmasterWorld Guest from 22.214.171.124 , register , free tools , login , search , pro membership , help , library , announcements , recent posts , open posts Become a Pro Member
Subdomains newbie needs help dabrisz msg:665445 8:55 pm on Feb 26, 2002 (gmt 0) I have taken over a site which has several subdomains one.mysite.com, two.mysite.com, ect. I would like to continue to use these address, but get them to be directed www.mysite.com/one, www.mysite.com/two.
This is probably really simple, but I have been wrestling with it for a while.
Thanks for any help or advice in advance.
wilderness msg:665446 12:40 am on Feb 27, 2002 (gmt 0)
In your htaccess add:
RedirectMatch 301 /one.mysite.com/(.*)$ [
RedirectMatch 301 /two.mysite.com/(.*)$ [
...] mysite.com Brett_Tabke msg:665447 8:10 am on Mar 6, 2002 (gmt 0)
dabrisz, welcome to the forums.
The approach wilderness suggested is the best approach if you have that available. If not, a good old meta refresh is available.