Expand my Community achievements bar.

Guidelines for the Responsible Use of Generative AI in the Experience Cloud Community.
SOLVED

Unpublished pages in AEM are being included in sitemap.xml

Avatar

Level 1

Has anyone else experienced unpublished pages in AEM appearing in sitemap.xml? I only want published pages to be included. My website uses the Apache Sling Sitemap Module to generate the sitemap.xml file... Not sure if the issue is related to the Sitemap Module itself, or if it's a configuration in AEM... If anyone has some insights on how to fix this, I would love to hear how you got it resolved.

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

Sitemap.xml is generated dynamically and might be stored on your dispatcher cache. Can you check if you are seeing the cached sitemap.xml. Also, check 

Sitemap scheduler OSGi configuration to check the cron expression for the frequency.

https://experienceleague.adobe.com/docs/experience-manager-learn/sites/seo/sitemaps.html?lang=en

View solution in original post

2 Replies

Avatar

Correct answer by
Community Advisor

Sitemap.xml is generated dynamically and might be stored on your dispatcher cache. Can you check if you are seeing the cached sitemap.xml. Also, check 

Sitemap scheduler OSGi configuration to check the cron expression for the frequency.

https://experienceleague.adobe.com/docs/experience-manager-learn/sites/seo/sitemaps.html?lang=en

Avatar

Administrator

@JonathanBurke Did you find the suggestions from @DPrakashRaj helpful? Please let us know if more information is required. Otherwise, please mark the answer as correct for posterity. If you have found out solution yourself, please share it with the community.



Kautuk Sahni