Expand my Community achievements bar.

Learn about Edge Delivery Services in upcoming GEM session
SOLVED

Sitemap Behavior

Avatar

Level 3

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! 

1 Accepted Solution

Avatar

Correct answer by
Employee Advisor

Hi,

 

You can find the code here: https://github.com/Adobe-Consulting-Services/acs-aem-commons/blob/master/bundle/src/main/java/com/ad...

 

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

View solution in original post

3 Replies

Avatar

Correct answer by
Employee Advisor

Hi,

 

You can find the code here: https://github.com/Adobe-Consulting-Services/acs-aem-commons/blob/master/bundle/src/main/java/com/ad...

 

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

Avatar

Level 3
Thank you for the response. It looks like a custom sitemap has to be developed to support this use case.

Avatar

Employee Advisor
Before you start creating a new sitemap implementation, please raise a ticket with ACS AEM Commons and ask if an improvement of the existing implementation makes sense. In that case I would ask you to contribute your functionality to the overall project, so you can avoid a custom implementation of it.