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.
Sign up for our free beginner training. Boost your credentials through advanced courses and certification. Register for Sitefinity training and certification.
To submit feedback, please update your cookie settings and allow the usage of Functional cookies.
Your feedback about this content is important