Skip to main content
Level 4
4月 19, 2022 9:55 上午 UTC
已解决

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?

 

此主题已关闭回复。
arunpatidar
Community Advisor
4月 19, 2022 11:45 上午 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回复

arunpatidar
Community Advisor
Community Advisor
4月 19, 2022 11:45 上午 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