Hi
Ive been trying for the past few days now to try and setup 1 context with 2 domains. I have tryed gatwaymanager which isnt working for v2.3.1 yet. ive tried contextrouter which doesnt really seem to do anything, so I guess that this isnt working either.
can anybody refer me to anything that i may have not tried yet? or anything else I could try?
what im trying to do is:
ensure that 2 domains can access the same modx database/content
the apache is setup correctly for both domains which point to the same instance.
I need to incorporate google href lang, for me to do this, this requires the site to have:
2 domains to access the same area
2 lines in the head need to be added to the header of the website, but each line showing the same page name (friendly urls)
<link rel="alternate" hreflang="x-default" href="
http://www.domain1.com/page-name-1.html">
<link rel="alternate" hreflang="en-gb" href="
http://www.domain2.co.uk/page-name-1.html">
on all pages, the page name will change pending what the page the user is on.
google analytics code also need to change depending on what domain the user comes in on, if the user comes in on domain1.com then google analytics code is xxxxxxxxxxx, if user comes in on domain2.co.uk then yyyyyyyyyyy will be shown.
also the footer needs to change depending on what domain is selected, so for example if the user comes in on domain1.com then the footer shows an image, if the user comes in on domain2.co.uk then the text is converted to text and footer is slightly changed.