Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

SOLVED

Default OOTB of generating sitemap in AEM are not working

bhagchand
Level 2
Level 2

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
Rajashankar
Correct answer by
Level 4
Level 4

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
kishorekumar14
Level 10
Level 10

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.

kishorekumar14
Level 10
Level 10

Hi @bhagchand ,

 

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

bhagchand
Level 2
Level 2

Hi @kishorekumar14 ,

 

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

 

Shubham_borole
Community Advisor
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?

Rajashankar
Correct answer by
Level 4
Level 4

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