Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
BedrockMission!

Learn more

View all

Sign in to view all badges

Vanity URL- AEM 6.1

Mahesh_Vikram
Level 5
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
Mahesh_Vikram
Level 5
Level 5

Hi Opkar,

All the system configurations looks fine as per above link.

Thanks,

viki

Opkar_Gill
Employee
Employee

Hi Viki,

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

Regards,

Opkar

vivekanandm17
Level 2
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