Sitemap Generation - Different Result for DEV and STAGE
Hi All,
I am using sling:sitemapRoot property to generate the sitemap and the target root is set to same page /content/brandA/us/en.
However, the sitemap.xml for the two environments are generating different outputs -
https://dev.brandA.com/sitemap.xml
Output -
This XML file does not appear to have any style information associated with it. The document tree is shown below.
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9" xmlns:xhtml="http://www.w3.org/1999/xhtml" xmlns:video="http://www.google.com/schemas/sitemap-video/1.1" xmlns:image="http://www.google.com/schemas/sitemap-image/1.1" xmlns:news="http://www.google.com/schemas/sitemap-news/0.9">
<url>
<loc>https://dev.brandA.com/</loc>
</url>
<url>
<loc>https://dev.brandA.com/support/</loc>
</url>
</urlset>
https://stage.brandA.com/sitemap.xml
Output -
This XML file does not appear to have any style information associated with it. The document tree is shown below.
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9" xmlns:xhtml="http://www.w3.org/1999/xhtml">
<url>
<loc>https://stage.brandA.com/home.html</loc>
</url>
</urlset>
Query 1 - With same configuration, why the output would be different ?
We are targeting extensionless URLs in sitemap.xml which is working fine on DEV but not getting the same output on STAGE.
Any pointers ?
@gaurav-behl, @arunpatidar, @b_sravan , @mohit_kbansal
Thanks,
Rohan Garg
