XML Sitemap Generator
If your project has a requirement to generate an XML sitemap within Sitecore, this functionality has been defined within SCORE to handle that scenario. The XML Sitemap generator within SCORE includes the introduction of a new pipeline within Sitecore. The pipeline, Because it is a pipeline, it is also possible for you to insert new processors, or replace / remove processors from the pipeline to customize how it works.What it Does
generateScoreXmlSitemap
includes a set of processors to handle the most common sitemap generation steps.
Usage
Using the XML Sitemap generator involves 3 steps -
- Configure your
<site>
definition with some required parameters - Add an event handler to "kick-off" the sitemap generation
- Inspect the pre-defined pipeline processors and add / remove any processors that meet your requirements
Read more about the usage and configuration required for the XML Sitemap Generator at XML Sitemap Usage and Configuration
Check robots.txt transformations to see how to generate dynamic sitemap links in robots.txt file.