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