Expand my Community achievements bar.

Dive into Adobe Summit 2024! Explore curated list of AEM sessions & labs, register, connect with experts, ask questions, engage, and share insights. Don't miss the excitement.

Vanity URL- AEM 6.1

Avatar

Level 5

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  

5 Replies

Avatar

Level 5

Hi Opkar,

All the system configurations looks fine as per above link.

Thanks,

viki

Avatar

Employee

Hi Viki,

so you have selected "Enable Vanity Paths" and you vanity urls are still not getting resolved correct?

Regards,

Opkar

Avatar

Level 2

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