Here’s one for the technical types out there
Say I have a modx installation at basedomain.com. basedomain.com has a section called basedomain.com/section1, and pages under that as well eg. basedomain.com/section1/page1 etc.
Is it possible (and I realise it might need some code tweaks) to point another domain to this one, (so newdomain.com initially resolves to basedomain.com before any redirects are set up) but have it load up basedomain.com/section1 ?
So really what I’m asking is if it is technically possible to have the new domain resolve to a modx subfolder set of pages and still keep the new domain in the address bar eg. newdomain.com == basedomain.com/section1
I’m hoping this might be possible with some .htaccess rewrites as MODx doesn’t really care what URL you load it up with it seems - which is good in this case
Any ideas? Hope I’m making some sense!
Just as an aside, the reason I’m hoping this is possible is that I have a case for having a site split into different sections but also into different domains if they get quite large. If the above could work then that would mean a little custom code to make sure the right domain loads (but that’s the easy bit and I can do that), but the benefits are that a) you have one manager to manage the sites and b) search engines don’t mind as long as the content from basedomain.com/section1 is only available at newdomain.com (so no duplication of content).