Expand my Community achievements bar.

Don’t miss the AEM Skill Exchange in SF on Nov 14—hear from industry leaders, learn best practices, and enhance your AEM strategy with practical tips.

Remove html extension from the vanity redirect page

Avatar

Level 4

Hi Team,

 

currently , rules already in place to remove the .html from the URL in dispatcher to remove and point the cta links in the page without .html extenstion

 

but Vanity redirects still redirecting to .html extn

 

currently we can access page with and without html extension both

 

what can be the issue and resolve this issue ?

2 Replies

Avatar

Community Advisor

@sonuk85184451 how are you removing html extension from dispatcher? Can you provide some example incoming url and what your publisher expects or similarly for a outgoing link what your publisher is updating and what you are doing at dispatcher?

Avatar

Level 4

@Shashi_Mulugu-

 

its a vanity redirect from the page properties i.e when provided the vanity to page i.e abc as vanity to /content/abcsite/en/samplepage. on publish instance  https://www.demosite.com/abc its redirecting to https://www.demosite.com/en/samplepage.html now i need .html needs to be removed after the redirect 

 

otherwise directly , https://www.demosite.com/en/samplepage.html   or https://www.demosite.com/en/samplepage both are working and rendering the content

 

sonuk85184451_1-1697650909364.png

 

sonuk85184451_0-1697650824437.png