Ultimate Sitemap XML

  0 rating
11/24/2015 9:42:17 AM
11/24/2015 9:42:17 AM


The module includes the following new features:
  • Shared content support
  • Custom MVC rendering for displaying a sitemap on a page
  • Content controlled sitemap settings
  • Page sitemap base template (inherited by page templates and adds sitemap-related meta fields)

Original Sitemap XML features retained:
  • Multisite support
  • robots.txt file generation and updates
  • Physical XML sitemap file generation
  • /sitemap.xml dynamic handler
  • Auto sitemap submission to search engines on publish

The module documentation can also be located in the package Read Me section, 

which can be viewed during the installation, or on the Sitecore Best Practices website Modules Page


  • Documentation > How to Use the Module
    How to Use the Module

    1.  Install the package using the Update Installation Wizard (/sitecore/admin/updateinstallationwizard.aspx)
    2. Open the SitemapXML.config under the App_Config\Include folder. In the SitemapXML.config file you can specify the following:
      • productionEnvironment - (true or false) determines whether the sitemap should be submitted to the search engines or not
      • Database - the database from which to pull items for generating the sitemap
      • sitemapConfigurationItemPath - root path for the sitemap module configuration settings
      • xmlnsTpl - sitemap module schema used for the XML sitemap
      • generateRobotsFile - (true or false) defines whether a robots.txt file should be auto-generated with references to sitemap files or not.


    The following are the default values:



          <sitemapVariable name="xmlnsTpl" value="http://www.sitemaps.org/schemas/sitemap/0.9" />

          <sitemapVariable name="database" value="master" />

          <sitemapVariable name="sitemapConfigurationItemPath" value="/sitecore/system/Modules/Sitemap XML/" />

          <sitemapVariable name="productionEnvironment" value="false" />

          <sitemapVariable name="generateRobotsFile" value="true" />




    1. Open the Sitecore Content Editor.
    2. Navigate to /sitecore/content/System/modules/Sitemap XML/.
    3. Create a Sitemap Configuration item and name it with the same name as the website name attribute in the <site />  definition for your website (Non-case sensitive).


    This item will contain all of the website-specific configuration used by the module.


    1. Set which search engines will be used for submitting the XML Sitemap in the Search Engines field(you can add your own search engine by adding the new “Sitemap Search engine” item under the Sitemap XML Search Engines folder and specifying the “Sitemap Submission Url” path.
    2. In the Configuration section of the Sitemap configuration item you can set the following:
      1. Search Engines - select the search engine to submit the sitemap to
      2. Enabled Templates - templates to be included in the sitemap
      3. Excluded Items - individual items to be excluded from the sitemap
      4. File Name - the name of the sitemap XML file file which will be saved in the root Website directory
      5. Server Url - the server URL to be used in the sitemap URLs. The module falls back to using the server URL which was used to request the sitemap.


    1. To include shared content in the sitemap add a Shared Content Definition item under the Sitemap Configuration item for the website in question and specify the Parent Item (parent content item) and Content Location (the parent item for the shared content).
    2. Sitemap will be generated and submitted after publishing (if productionEnvironment setting is set to true). Also you can submit sitemap manually. Run the Sitemap Manager application (sitecore menu/all programs/sitemap manager) and click “Refresh sitemap” button.
Release notes
Please insert section here whenever you add a new version of your Sitecore module package describing version number, new features, fixes and possible known issues.
Read more Back
Code examples

Solution screenshots(0)


Reviews (0)

Sort by: Date Most votes
  • Profile Avatar

    Level: 0

    x0 x0 x0




    Was this helpful?


Comments (0)

Sort by: Date  Most votes

Leave a Comment

Comment must be field in
Post comment

Write a review

Title can't be empty
Review can't be empty
Post review


Title Description Download Action

Add File