Skip to main content
Level 4
April 19, 2022
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
Community Advisor
April 19, 2022

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
Community Advisor
arunpatidarCommunity AdvisorAccepted solution
Community Advisor
April 19, 2022

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