Jump to content

www.somesite.com -> www.parentdomain.com?siteid=5


bcamp1973

Recommended Posts

i'm building a CMS that will allow my client to build/maintain multiple sites from the same root directory. my thought is that anytime they add on a new site and the new domain has propogated we'll use .htaccess to send the users to the correct multi-site.  for example www.anewsite.com might actually point to www.clientsprimarydomain.com?siteid=33 the idea being that they'll be able to add as many sites as they want. then of course the new domains may have need addtional rewrites so that www.anewsite.com?page=contact_us goes to www.anewsite.com/contact_us/

is this the best way to approach this? mod_rewrite is kicking my butt...i don't even know where to start  :-[
Link to comment
https://forums.phpfreaks.com/topic/25663-wwwsomesitecom-wwwparentdomaincomsiteid5/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.