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
Bedrock Mission!

Learn more

View all

Sign in to view all badges

Vanity URL not working through website dispatcher url but https:/{dispatherDomain}/libs/granite/dispatcher/content/vanityUrls.html is listing all vanity urls


Level 3

We are looking forward to make vanity url set up working for our website. We are using AEM 6.4.7


Have followed Adobe documentation and this blog - to set up vanity urls.

Dispatcher configuraions in farm file, filter.any file and cache.any file is also done.


I am able to access the list of vanity url's using the path - https:/{dispatherDomain}/libs/granite/dispatcher/content/vanityUrls.html.


But when i access thorugh the website url : https://{websitedomain}/testvanity

the page is not getting loaded instead it is giving 404 error.


I tried checking in /system/console/jcrresolver

resolving the https://{websitedomain}/testvanity to the right content path.


But we hit thorug direct dispatcher link https://{websitedomain}/testvanity, I am getting 404


Can some one shed some lights on how I can fix this and make vanity url working?


Topics help categorize Community content and increase your ability to discover relevant content.

1 Reply


Level 3

Found the root cause of this issue. OOB Vanity URL's were not working because of internal sling mapping and dispatcher mapings. So as a solution we implemented custom vanity url path by appending the /content/site/locale path internally thorugh code and now OOB vanity urls are working.