Expand my Community achievements bar.

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

Default OOTB of generating sitemap in AEM are not working

Avatar

Level 4

Hi All,

 

I am facing issue while generating sitemap.xml, We have followed AEM document "https://experienceleague.adobe.com/docs/experience-manager-learn/sites/seo/sitemaps.html?lang=en" but it not works.

Currently we are using AEM as a cloud service, we also checked it on 3 different machines but observed same issue, can you please help to resolve.

Please find a video for your reference "https://www.loom.com/share/0b84322697f24eddb8824c7badff42e1"


Thanks in advance

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

Hi @bhagchand

I hope you have a redirect/Vanity for http://localhost:4503/content/ranosys-website/global to http://localhost:4503/global instead you should revoke that redirect and try as shown below

http://localhost:4503/content/ranosys-website/global.sitemap.xml

Note:

Site map functionality is available with AEM 6.5.11 and also in AEMaaCs. Make sure you are using appropriate version. Also once you enable the sitemap for a particular page you can verify whether the following value is been set 

Rajashankar_0-1640204494482.png

 

 

View solution in original post

9 Replies

Avatar

Community Advisor

Hi @bhagchand ,

 

Try using sitemap as a selector and xml as extension. Can you check once in author env with below url, 

 

http://localhost:4502/content/ranosys-website/global.sitemap.xml 

 

If it works publish sitemap configs and content changes to publisher and check.

Avatar

Community Advisor

Hi @bhagchand ,

 

Can u try unchecking "Generate Sitemap" in global page property and check the same property in ranosys-website.

Avatar

Level 4

Hi @Kishore_Kumar_ ,

 

I have unchecked the Generate Sitemap check box, then this url "http://localhost:4502/content/ranosys-website/sitemap.xml".

then this giving 404 error

after checked global "Genrate Sitemap" then this url 

"http://localhost:4502/content/ranosys-website/global.sitemap.xml"

also giving 404 error.

Is there any configuration or cron which we needs to run ??

Screenshot from 2021-12-27 16-39-04.pngScreenshot from 2021-12-27 16-39-00.png

 

Thanks in advance

 

Avatar

Community Advisor

Hi @bhagchand I didn't see you activated the global page in your local author.

 

Also I see that the url you are hitting should be lolcalhost:4503/content/ranosys-website/global.sitemap.xml based on the url that is used in demo video. 

 

Can you try that please?

Avatar

Correct answer by
Community Advisor

Hi @bhagchand

I hope you have a redirect/Vanity for http://localhost:4503/content/ranosys-website/global to http://localhost:4503/global instead you should revoke that redirect and try as shown below

http://localhost:4503/content/ranosys-website/global.sitemap.xml

Note:

Site map functionality is available with AEM 6.5.11 and also in AEMaaCs. Make sure you are using appropriate version. Also once you enable the sitemap for a particular page you can verify whether the following value is been set 

Rajashankar_0-1640204494482.png