Forum Moderators: buckworks & webwork

Message Too Old, No Replies

Consolidating domains into subfolders on new domain

domains to subfolders, consolidating domains

         

papachumba

11:36 am on Jul 6, 2009 (gmt 0)

10+ Year Member



Hi guys, quick question.

Domain A
Domain B

Unique entities, separate servers. We are planning to consolidate these into 1 website, called Domain C.

Whilst Domain C is being built, we are hoping to redirect users to:

Domain A --> www.DomainC.com/SubfolderA
Domain B --> www.DomainC.com/SubfolderB

These subfolders would show exactly the same content as Domain A & B, only the domain name will change.

I know a bit about Htaccess, however i have no idea if it is possible to set this up, taking into account that websites are on separate servers - some DNS fiddling might be required.

Could someone shed some light please? Thanks.

ogletree

7:35 pm on Jul 8, 2009 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



Your going to need to set up the websites exactly on domain c just like they are on the original except that they are on subdomains. This way you can easily redirect the old sites to the new ones. Your going to need to keep hosting on the old domains so you can have a .htaccess file that 301 redirects www.oldsitea.com 301 --> to www.newsite/oldsitea

Set it up so that it redirects exactly the same url except that it changes the domain and sub dir but every thing else stays the same.