Expand my Community achievements bar.

Enhance your AEM Assets & Boost Your Development: [AEM Gems | June 19, 2024] Improving the Developer Experience with New APIs and Events

Vanity url not caching with redirect html extension


Level 2

Hi All,


We are using vanity urls for bulk of pages like below. Could you please help here 

to cache and invalidate the vanity urls. 


test1 is dynamic


I am able to the vanity url data in publish


 i have added the below things to dispatcher.


farm file:

/vanity_urls { 

/url "/libs/granite/dispatcher/content/vanityUrls.html"

/file "/tmp/vanity_urls"

/delay 300



filter :

/0100 { /type "allow" /url "/libs/granite/dispatcher/content/vanityUrls.html" }



Thanks for help.

1 Accepted Solution


Correct answer by
Community Advisor
3 Replies


Level 2



I have done all the changes which are mentioned on the above link. but, no luck.



Correct answer by
Community Advisor