Hi,
We are experiencing an issue in Dynamicweb 10 where two areas with separate domains within the same solution are generating identical sitemap.xml files.
Both sitemap.xml files contain URLs from both domains, resulting in cross-domain URLs appearing in each sitemap.
We have enabled the "Lock pages to host" setting in DynamicWeb, but this does not appear to affect sitemap generation. The sitemap still includes URLs from multiple domains regardless of the host binding.
According to the documentation, generated sitemap files should be stored and cached under:
/Files/System/sitemapxml/sitemap-{indexName}-XXX.xml
and cached for 24 hours, with the cache being cleared by deleting the files.
Documentation reference:
https://doc.dynamicweb.dev/documentation/implementing/other/sitemaps.html?q=sitemap
However, this does not appear to match the behaviour we are seeing.
Additionally, some pages do not appear to respect the "Lock pages to host" configuration. For example, when accessing a page through another domain in the same solution (e.g. domain2.com/registration), the user is redirected to domain1.com/registration instead of receiving a 404, even though the page is configured with Lock pages to host.
Questions:
-
Is sitemap generation expected to respect the "Lock pages to host" configuration?
-
Are there known limitations or additional configuration steps required in DW10 to ensure domain-specific sitemap isolation?
-
Could this be related to domain bindings or website configuration at solution level?
-
Has anyone encountered similar cross-domain sitemap behaviour in multi-domain setups?
Environment:
-
Dynamicweb 10.22.8
-
Vue3 frontend rendered inside Razor templates
-
Standard DW sitemap.xml generation
Any insights or suggestions would be greatly appreciated. Thanks in advance for any help investigating this.
Best regards,
Bjarki