IMPORTANT: This version of Sitefinity CMS is out of support and the respective product documentation is no longer maintained and can be outdated. Use the version selector to view a supported product version.
This article provides a sample on how to generate Sitefinity sitemap using the API.
To generate sitemap for a specific site retrieving the site by its name. The following code snippet uses MultisiteModule API to retrieve the current site:
The second method loops trough all sites and to generate sitemap for all sites.
Back To Top
To submit feedback, please update your cookie settings and allow the usage of Functional cookies.
Your feedback about this content is important