Sitemap Behavior | Community
Skip to main content
New Participant
July 15, 2020
Solved

Sitemap Behavior

  • July 15, 2020
  • 1 reply
  • 1631 views

Hello all,

 

I am on ACS commons v4.3.4 and AEM v6.5.3, using the OOTB ACS Commons Sitemap and Vanity urls. The issue i'm facing is, sitemap is include vanity urls as well, which it should not. Is there any way this can be disabled? 

 

Thanks in advance! 

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by joerghoh

Hi,

 

You can find the code here: https://github.com/Adobe-Consulting-Services/acs-aem-commons/blob/master/bundle/src/main/java/com/adobe/acs/commons/wcm/impl/SiteMapServlet.java#L273

 

It does not seem that there's a chance to prefer the non-vanity URL over the vanity URL if such a vanity URL is configured.

 

Jörg

1 reply

joerghoh
joerghohAccepted solution
Employee
July 15, 2020

Hi,

 

You can find the code here: https://github.com/Adobe-Consulting-Services/acs-aem-commons/blob/master/bundle/src/main/java/com/adobe/acs/commons/wcm/impl/SiteMapServlet.java#L273

 

It does not seem that there's a chance to prefer the non-vanity URL over the vanity URL if such a vanity URL is configured.

 

Jörg

BerusAuthor
New Participant
July 15, 2020
Thank you for the response. It looks like a custom sitemap has to be developed to support this use case.