homepage Welcome to WebmasterWorld Guest from 54.227.141.230
register, free tools, login, search, subscribe, help, library, announcements, recent posts, open posts,
Subscribe to WebmasterWorld
Home / Forums Index / Hardware and OS Related Technologies / Website Technology Issues
Forum Library, Charter, Moderators: phranque

Website Technology Issues Forum

    
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/(.*)$ [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.

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / Hardware and OS Related Technologies / Website Technology Issues
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About
© Webmaster World 1996-2014 all rights reserved