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.
SOLVED

how do vanity URLs and author based redirects work on Cloud AEM.

Avatar

Level 9

In AEM author, the content editors can create vanity urls and "redirect vaninty url" in the pages properties basic tab. However, we cant find any documentation for these features, and they dont seem to work.

 

If the normal page url is mystite.com/helppages/somepage.html, and we add a vanity url of "help", what should be the result:

a) mysite.com/helppages/help/

b) mysite.com/help

 

When we publish a page with a vanity url set, neither of these work (get "The requested URL was not found on this server.")

 

Also, if its b), how does this not break relative urls etc?

 

How does the redirect work? does it redirect from the vanity url to the real url, or vice versa? Again this feature does not work for us.

 

we also tried creating the vanity url to be help.html (although marketing dont want the html).  This also does not work.  get: Cannot serve request to /content/xxx/xxx/help.html on this server, the same as typing in any other page which does not exist.

 

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

Hi @TB3dock,

Below KB article explains

  • Ways of using Vanity Urls
  • similar requirement with mod_rewrite
  • which method to use (when and why)

https://helpx.adobe.com/experience-manager/kb/ams-dispatcher-manual/disp-vanity-url.html

 

View solution in original post

1 Reply

Avatar

Correct answer by
Community Advisor

Hi @TB3dock,

Below KB article explains

  • Ways of using Vanity Urls
  • similar requirement with mod_rewrite
  • which method to use (when and why)

https://helpx.adobe.com/experience-manager/kb/ams-dispatcher-manual/disp-vanity-url.html