Hi All,
we have configured /etc/maps/ for URL shortening, we used domain name to configure and URL shortening is working as expected.
We have few vanity URL's, those are not working, when we access with domain name, requests are getting appended with /etc/maps configuration, when we remove /etc/maps configurations, working as expected.
Thanks,
viki
Views
Replies
Total Likes
Hi Viki,
have you checked "Enable Vanity Paths"[1] in your JCR Resource Resolver configuration [0]?
Regards,
Opkar
[0]http://www.aemmastery.com/2015/03/15/aem-osgi-service-dive-resource-resolver-factory/
[1]http://www.aemmastery.com/wp-content/uploads/2015/04/resourceResolverFactory.png
Views
Replies
Total Likes
Hi Opkar,
All the system configurations looks fine as per above link.
Thanks,
viki
Views
Replies
Total Likes
Hi Viki,
so you have selected "Enable Vanity Paths" and you vanity urls are still not getting resolved correct?
Regards,
Opkar
Views
Replies
Total Likes
yes
Views
Replies
Total Likes
Hi Mahesh,
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
Views
Replies
Total Likes