Vanity URL resolution | Community
Skip to main content
Singaiah_Chintalapudi
Level 7
May 31, 2016
Solved

Vanity URL resolution

Hi,

I am using vanity URLs and I want to throw an exception if that url is not found. When I request the vanity URL which is not there in AEM, it is simply showing the blank page. 

How does AEM identifies the AEM internal URL based vanity URL? Sing looks for: sling:vanityPath property in the content nodes?

Please help.

Thanks.

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
ogillAccepted solution
Employee
May 31, 2016

2 replies

ogillAccepted solution
Employee
May 31, 2016
smacdonald2008
Level 10
May 31, 2016

Look at the AEM 2015 2nd place winning application (for the annual AEM code contest): 

https://helpx.adobe.com/experience-manager/using/vanitypath.html

You can build a tool to manage these URLS.  You can install and extend the app if you want. 

Translate