| Welcome to WebmasterWorld Guest from 220.127.116.11 |
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
|Become a Pro Member|
|Htaccess help needed|
| 5:22 pm on Oct 10, 2002 (gmt 0)|
I have Three sites each with unique but similar content. I now wish to move all sites onto one domain. I am looking for a way to have siteA.com and siteB.com point to siteC.com
The way I was intending on doing this was to use an ataccess file within the root of siteA and siteB and have them redirect to site c.
I still get some referals to site A and site B from se's so I would like siteA.com/anthing and siteB.com/anything to also map to the homepage of sitec.com
Does this look as if it woudl work?
RedirectMatch permanent ^/(.*)http://www.siteC.com/$1
If anyone is better at htaccess tham me (woulden't be hard) please feel free to submit better code than that.
| 5:45 pm on Oct 10, 2002 (gmt 0)|
If you add a space between pattern and replacement it will work:
RedirectMatch permanent ^/(.*) [siteC.com...]
| 5:49 pm on Oct 10, 2002 (gmt 0)|
thanks for the reply. :)
All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved