ACS Commons Sitemap has some non-existent URLs | Community
Skip to main content
ruchim71073425
Level 2
January 19, 2023

ACS Commons Sitemap has some non-existent URLs

  • January 19, 2023
  • 1 reply
  • 765 views

Hi,

 

We have some URLs in our sitemap that once existed but are no longer there.

 

Our URL is: https:/our-domain.com/abc/en.sitemap.xml

 

Response issue:

Both URLs appear.

 

/content/abc/en/products/xyz.html [Correct]

/content/abc-new/en/our-products/xyz.html [Incorrect]

 

History:

1) /content/abc-new/en/our-products was moved to /content/abc-new/en/products

 

2) /content/abc-new was moved to /content/abc

 

So only, /content/abc/en/products is the right URL.

 

Now, we have checked in publish and there is no /content/abc-new anywhere.

Have checked dispatcher and nothing as well.

Have removed sitemap and recreated, but still getting both the URLs.

How is /abc-new even showing when we are only asking for /abc/en.sitemap.xml?

Where is this /abc-new content being picked from? If I try to access any of these /abc-new URLs I get 404 which is correct.

 

Anyone faced such an issue? Any help will be really appreciated.

 

Thanks

Ruchi

 

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

1 reply

Peter_Puzanovs
Community Advisor
Community Advisor
January 19, 2023

Hi Ruchi,

 

Sounds like persisted sitemap items data is not cleaning itself properly.

 

Can you find Sling Sitemap inside OSGi System Console,

 

Inside it, execute helper method's to verify it's actually fetching right sitemaps, also verify scheduler configuration for your given sitemap.

 

Given, it all set as needed, check for exceptions during the next scheduled run.

 

Regards,

Peter

ruchim71073425
Level 2
January 25, 2023

Thanks Peter.

 

We are using the ACS Commons SiteMap Servlet. There is, hence, no scheduler. The sitemaps get generated on run-time, if not present. Is that still linked to the Sling SiteMap and if so, how can I execute that Helper method you have mentioned.

 

Regards

Ruchi