Default OOTB of generating sitemap in AEM are not working | Community
Skip to main content
Level 3
Dec 22, 2021 10:32 AM UTC
Solved

Default OOTB of generating sitemap in AEM are not working

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

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
RajaShankar
RajaShankarAccepted solution
New Participant
Dec 22, 2021 8:21 PM UTC

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 

 

 

9 replies

RajaShankar
RajaShankarAccepted solution
New Participant
Dec 22, 2021 8:21 PM UTC

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 

 

 

Translate
bhagchandAuthor
Level 3
Dec 23, 2021 12:02 PM UTC

Thanks a lot, let me try 

Translate
Shubham_borole
New Participant
Dec 22, 2021 2:04 PM UTC

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?

Translate
bhagchandAuthor
Level 3
Dec 23, 2021 12:01 PM UTC

Thanks a lot, let me check 

Translate
Kishore_Kumar_
Level 9
Dec 22, 2021 1:58 PM UTC

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.

Translate
bhagchandAuthor
Level 3
Dec 23, 2021 11:57 AM UTC

Hi @kishore_kumar_ ,

 

Thanks a lot, Yes I am able to open this 

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

Is there any way to make sitemap at root level  like this http://localhost:4502/content/ranosys-website/sitemap.xml 

 

Thanks in advance

Translate
Kishore_Kumar_
Level 9
Dec 23, 2021 12:08 PM UTC

Hi @bhagchand ,

 

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

Translate