Expand my Community achievements bar.

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

AEM Cloud - Unpublished pages in AEM are being included in sitemap.xml

Avatar

Level 1

Hi Everyone,

Similar issue has been faced, however no resolution:

Unpublished pages in AEM are being included in sitemap.xml

 

Even after un-publishing pages in AEM are being included in sitemap.xml

Screenshot 2024-09-12 at 8.58.44 PM.png

The above screenshot is from publisher instance where de-sitemap.xml was un-published from author instance and verified that the page is not present over on publish instance but sitemap generation schedular is unable to delete it from /var/sitemaps/content/aot/global/de-sitemap.xml

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

Hi @SantoshSa2 ,

 

Ideally, deactivating page should delete it from Publish instance, can you check if page is still present in publish.
Also ,try to check below things:

  • Check if the page is not cached in the CDN.
  • Look into replication/error logs, for this page in both author and publish. 
  • Check if there are any issues in the activation queue, (the queue is blocked).

 

 

-Tarun

View solution in original post

3 Replies

Avatar

Correct answer by
Community Advisor

Hi @SantoshSa2 ,

 

Ideally, deactivating page should delete it from Publish instance, can you check if page is still present in publish.
Also ,try to check below things:

  • Check if the page is not cached in the CDN.
  • Look into replication/error logs, for this page in both author and publish. 
  • Check if there are any issues in the activation queue, (the queue is blocked).

 

 

-Tarun

Avatar

Community Advisor

Hi, 

Could you please verify the following:

  1. Did the sitemap scheduler run after the unpublished pages were removed?
  2. Was the cache properly flushed (expired via TTLs)?
  3. Are there still entries for the unpublished pages in your sitemap.xml (the live sitemap URL)?


Esteban Bustamante

Avatar

Administrator

@SantoshSa2 Did you find the suggestions helpful? Please let us know if you require more information. Otherwise, please mark the answer as correct for posterity. If you've discovered a solution yourself, we would appreciate it if you could share it with the community. Thank you!



Kautuk Sahni