| Welcome to WebmasterWorld Guest from 18.104.22.168 |
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
|Become a Pro Member|
|Htaccess help needed|
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.
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