Expand my Community achievements bar.

ACS Commons Sitemap has some non-existent URLs

Avatar

Level 2

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

 

2 Replies

Avatar

Community Advisor

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

Avatar

Level 2

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