For both the vanity URLs i.e. siteone.com/my-vanity-url and, sitetwo.com/my-vanity-urlthe en version of page (/content/project/en/my-page) is rendered.
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.
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 re...
Hi Anwar,You should enable "Vanity Path Precedence" in Apache sling resource resolver factory" From OSGi configuration console. It will ensure your vanity URLs are cosnidered first before the sling mapping.Best Regards,Vivek