AEM 6.3 | Support to same vanity URL for multiple sites
I have two websites which are in different domains but use the same AEM instance. I have setup same vanity URL for the two pages-
- /content/project/en/my-page
- /content/project/es/my-page.
I want this page to be accessible like this- siteone.com/my-vanity-url and sitetwo.com/my-vanity-url.
I have done required setup in dispatcher for vanity URLs but with /my-vanity-url in Vanity URL for both pages, dispatcher is serving just the en version of page in both cases.
In my case, rewrites will not work as the normal page URLs and vanity URLs do not have a identifiable pattern. The original page URLs do not have /content/project and no extension; same is true for the vanity URLs.
Any pointers on it, how can this be achieved?
P.S. - I have seen many posts on this but those looks old thread so created this new one specifically for AEM 6.3.