Expand my Community achievements bar.

Don’t miss the AEM Skill Exchange in SF on Nov 14—hear from industry leaders, learn best practices, and enhance your AEM strategy with practical tips.
SOLVED

In AEM OOTB Sitemap I am unable to get the XML

Avatar

Level 7

I am using the OOTB sitemap generator that works with the scheduler.

I am Using AEMaaCS SPA. On /content/sample/en-us.sitemap.xml, I am trying to hit on the publisher. It gives a 404 error, but on /var/sitemap, I can view the available node entry.

 

Ronnie09_0-1686053368168.png

 

 

I even tried /content/sample/en-us-sitemap.xml it is giving 404. How to make that work?

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

Hi @Ronnie09 ,

You need to allow the path in the dispatcher.

 

# Allow AEM WCM Core Components sitemaps
/0200 { /type "allow" /path "/content/*" /selectors '(sitemap-index|sitemap)' /extension "xml" }

 

For more details, you can check the below thread where the detailed solution is discussed.
https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/404-error-while-accessing-... 

View solution in original post

3 Replies

Avatar

Correct answer by
Community Advisor

Hi @Ronnie09 ,

You need to allow the path in the dispatcher.

 

# Allow AEM WCM Core Components sitemaps
/0200 { /type "allow" /path "/content/*" /selectors '(sitemap-index|sitemap)' /extension "xml" }

 

For more details, you can check the below thread where the detailed solution is discussed.
https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/404-error-while-accessing-... 

Avatar

Community Advisor

Hi @Ronnie09 

"SitemapServlet" in publish '/system/console/configMgr' should be configured for required resource types.

 

Ganthimathi_R_0-1686057327354.png