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 not working through website dispatcher url but https:/{dispatherDomain}/libs/granite/dispatcher/content/vanityUrls.html is listing all vanity urls

Avatar

Avatar
Validate 1
Level 2
pn_2007
Level 2

Likes

4 likes

Total Posts

42 posts

Correct Reply

1 solution
Top badges earned
Validate 1
Ignite 1
Give Back
Boost 3
Boost 1
View profile

Avatar
Validate 1
Level 2
pn_2007
Level 2

Likes

4 likes

Total Posts

42 posts

Correct Reply

1 solution
Top badges earned
Validate 1
Ignite 1
Give Back
Boost 3
Boost 1
View profile
pn_2007
Level 2

16-07-2020

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 - https://blog.kristianwright.com/2016/02/11/aem-dispatcher-and-vanity-urls/ 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?

AEM 6.4.7 Dispatcher dispatcher.any

Replies

Avatar

Avatar
Validate 1
Level 2
pn_2007
Level 2

Likes

4 likes

Total Posts

42 posts

Correct Reply

1 solution
Top badges earned
Validate 1
Ignite 1
Give Back
Boost 3
Boost 1
View profile

Avatar
Validate 1
Level 2
pn_2007
Level 2

Likes

4 likes

Total Posts

42 posts

Correct Reply

1 solution
Top badges earned
Validate 1
Ignite 1
Give Back
Boost 3
Boost 1
View profile
pn_2007
Level 2

05-08-2020

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.