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

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

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