Skip to main content
Level 2
September 28, 2022
Solved

Vanity url not caching with redirect html extension

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. 

/product/data/feature/test1.html

test1 is dynamic

 

I am able to the vanity url data in publish

http://localhost:4503/libs/granite/dispatcher/content/vanityUrls.html

 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.

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.

3 replies

BrianKasingli
Adobe Champion and Community Advisor
Adobe Champion and Community Advisor
September 28, 2022

@naresh536 

Please refer to the instructions found here > https://blog.3sharecorp.com/enabling-vanity-urls-with-adobe-experience-manager

Translate
Naresh536Author
Level 2
September 28, 2022

@briankasingli 

 

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

 

Translate
SantoshSai
Community Advisor
SantoshSaiCommunity AdvisorAccepted solution
Community Advisor
September 28, 2022