Forum Moderators: coopster
I am working on a site where the owner wants to have 2 domains, with 2 different logos and names, but the same data.
I am thinking of using php to check the location field, and if the request is domain1, then display logo1 etc, if domain2, display logo2.
All of the files will be located on domain1.com, and domain2.com will just have index.php?id=page (using mod-rewrite to keep everything looking clean) Then the script will use an include like this:
include("http://www.domain1.com/$id?logo=2")
Is this the best way to do this? Any suggestions?
Thanks!
Erik