I am working on a project that uses Domain Access. The site has two domains one public(
example.com) & one for members(
Some contents are common to both domains and some are domain specific.
Any link rendered on webpages has a relative path to that domain.
eg. A page that is displayed on both sites has the link (
/some/link). Clicking it would take you to
example.com/some/link if you click it on
example.com AND to
example.com/members/some/link if you click it on
There are a few links that I want to appear on both domains but they should redirect to the members domain only.
eg. for the case described above the link should redirect to
example.com/members/some/link even if it is clicked form the
Is there a way to do it?
These are subdomains
members.example.com. There is some server-side settings for url rewrite that makes them appear as
example.com/members in URL.