AEM OOTB Sitemap (On Demand) not resolve /etc/map
Hi Community Members,
I am using AEM v6.5.16 and Core Component v2.21.2. I enabled OOTB "Generate Sitemap" option from Page Properties, sitemap.xml is generated as expected on Author.
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
<url>
<loc>http://localhost:4502/content/aem-demo/de/de.html</loc>
<lastmod>2023-02-02</lastmod>
</url>
<url>
<loc>http://localhost:4502/content/aem-demo/de/de/getting-support.html</loc>
<lastmod>2022-11-09</lastmod>
</url>
</urlset>But In dispatcher, at sitemap.xml; content path is not resolved with /etc/map instead of I am getting Publish URL defined at CQ Link Externalizer. Expected result below:
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
<url>
<loc>https://aem-demo.com/de/de.html</loc>
<lastmod>2023-02-02</lastmod>
</url>
<url>
<loc>https://aem-demo.com/de/de/getting-support.html</loc>
<lastmod>2022-11-09</lastmod>
</url>
</urlset>Any suggestion how I can achieve the expected result?
