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-
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.
Thank you Kautuk for your response. The required sling mapping is already defined for the sites so normal URLs are working perfectly. Only issue is with the Vanity URLs. Looks like vanity URLs are handled by resource resolver and are completely independent of sling mapping.
Did you find a way around this issue? I am experiencing the exact same thing but for AEM 6.4.
I have done the setup based on this: