Hi there,
I have a .co.uk site running on modx Evo, and my client is looking to have a .com version of the same site with slightly different copy in some places. Changing content based on the url should be fairly easy but the main problem is I need to have a single modx install accessible through 2 different urls, does anyone know if this is possible?
I've experimented locally and set up a rewrite rule in the .htaccess of the .com site, and then by fiddling with config.inc I can change the base_url of the site depending on whether its the .co.uk or the .com, which means all the links work etc. The problem is (for example) when someone accesses the .com homepage, modx will cache that and then subsequently viewing the homepage of the .co.uk site will bring up the cached .com homepage.
If anyones got any suggestions that would be great, I have a suspicion that what I'm trying to do might not be possible.
thanks!