AEM sling Sitemap generator | Community
Skip to main content
Level 4
Apr 19, 2022 9:55 AM UTC
Solved

AEM sling Sitemap generator

trying to implement sitemap, and the sitemap works fine when "Add Language alternates" option is disabled.

When enabled, this breaks sitemap and page http://localhost:4503/content/mysite/en.sitemap.xml does not give XML response.

 

Same is happening with public wknd site https://wknd.site/us/en.sitemap.xml this is not XML response.

anybody faced and resolved this issue?

 

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
arunpatidar
arunpatidarAccepted solution
New Participant
Apr 19, 2022 11:45 AM UTC

Hi,

Could you please check view source and the response type

content-type: application/xml;charset=utf-8

view-source:https://wknd.site/us/en.sitemap.xml

It is indeed xml

Arun Patidar

1 reply

arunpatidar
arunpatidarAccepted solution
New Participant
Apr 19, 2022 11:45 AM UTC

Hi,

Could you please check view source and the response type

content-type: application/xml;charset=utf-8

view-source:https://wknd.site/us/en.sitemap.xml

It is indeed xml

Translate
Arun Patidar