Expand my Community achievements bar.

SOLVED

AEM sling Sitemap generator

Avatar

Level 5

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?

 

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

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

View solution in original post

1 Reply

Avatar

Correct answer by
Community Advisor

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