@pcuser.. I was wondering if you could help me adapt your code to what an effect I'm looking to achieve.
I have three URL's I want to work with..
url1.com, url2.com, url3.com
now.. url1.com is the primary url, the other two are just addon domains which end up pointing at the same server, but the domain name gets rewritten to reflect.
If you would like to see an example of what I mean.. this is the site I'm working on and where this project is going to take place.
Michigan Circle TrackIf you go there, you'll see in your browser window, your at michigancircletrack.com
Now.. I have parked
MARC Times Racing News and
Michigan Racing Scene at the same server.. so if you click on those URL, you will see the same website, but the URL in the browser window reflects the add-on domain name.
Okay... but the problem.. the header still says "Michigan Circle Track"
I was wondering if there was a way to have the logo file load based on the URL which called it..
So if the person browsed michigancircletrack.com.. then the mct_logo.png would load into the header..
But if they went to marctimesracingnews.com.. then the mtrn_logo.png would load..
and same for any other add-on domain.
Outside that, nothing else changes.. the browser bar already does what it is suppose to do, but I think the site visitor is confused when they type in the URL "marctimesracingnews.com" and they get "MichiganCircleTrack.com"
IF it is not possible to call a different logo.png, is it possible to call a different template ?
would it be possible to call:
template/red for MichiganCircleTrack.com
template/blue for MarcTimesRacingNews.com
template/black for MichiganRacingScene.com
that way the logo.png in the template/color/images folder for each template would reflect the correct name ?
Maybe this is a better option ? As then the site colors could be different also, even though everything else.. module positions, content, menus, everything else would stay the same.
Anyone have any thoughts or ideas how this could be accomplished or if it is already readily available and I am just not aware ?
Thank you in advance for any assistance.