Skip to content

Creating new sitemap configuration

Radek Kozłowski edited this page Sep 6, 2016 · 6 revisions
  1. Go to /sitecore/system/Modules/Dynamic Sitemap XML branch in Sitecore

  2. Create there new item based on template General Configuration. Name of this item must be equal to site name in Web.config. By default there is an item with name Website

  3. In this item we can configure several things:

  • Search Engines – engines to which sitemap will be sent
  • Included Templates – templates which will be included in sitemap
  • Excluded Items – items which will be excluded from sitemap
  • Excluded Paths – whole paths that will be excluded from sitemap
  • Root Item – root item for site content – e.g. Home item
  • Sitemap File Name – file name for generated sitemap. By default file name looks like sitemap-sitename-language.xml, e.g. sitemap-website-en.xml
  • Server Host – host that will replace default host name in links
  • Default Change Frequency – value that will be used by default for element . If this field is empty – that element won’t be added.
  • Default Priority - value that will be used by default for element . If this field is empty – that element won’t be added.
  1. Beneath General Configuration item we can specify additional configurations: a. Change Frequency Definitions – these are definitions for specifying element. There are two types of definition:

i. Change Frequency For Items – here we can specify which items will have selected change frequency value:

ii. Change Frequency For Templates – here we can specify which templates will have selected change frequency value:

b. Priority Definitions – similarly to change frequency, we can specify definitions for element. There are two types of definition:

i. Priority For Items - here we can specify which items will have selected priority value:

ii. Priority For Templates - here we can specify which templates will have selected priority value:

Clone this wiki locally