Sitemap Module


The Sitemap Module works with ExpressionEngine version 2.10.0 or above, 3.1.0 or above, and 4.0.0 or above.

For ExpressionEngine 2 and 3, you must download and use the legacy version of the add-on from the main add-on page on devot-ee.


Download and unzip the Sitemap Module, then follow the steps below.

  1. Upload the sitemap folder to your add-on directory
  2. Install the Sitemap Module
  3. Create a template called sitemap of type XML and place the following line in it (nothing else):
  4. Open the Sitemap Module settings page and set your preferences
  5. Use the links to submit your sitemap manually to Google


Download and unzip the latest version of the Sitemap Module, then overwrite all files.

Module Preferences

For each channel you can choose whether to include or exclude it from the sitemap, as well as define its url structure, change frequency and priority. The url structure supports the following tags which work the same as the associated channel entry tags:

{entry_date format="%Y/%m/%d"}     // supported in EE2.8.0 and above

Note: if an entry is assigned to multiple categories then only the first category will be used in parsing.

The change frequency  should indicate frequently the page is likely to change. This value provides general information to search engines but does not correlate exactly to how often they crawl the page.

The priority should indicate the priority of this channel's entries relative to other channels on your site.

In addition to including urls to channel entries you can also manually add individual urls. This allows you to add any pages on your site that do not have an associated channel entry.

Template Tags

Your sitemap template should only contain the following template tag. Ensure that there are no blank lines in your template as this can cause issues.

Outputs the full xml sitemap
{exp:sitemap:get}If your sitemaps are very large then you can define the start index and limit of the number of entries shown (Google's limit is 50,000).
{exp:sitemap:get start="0" limit="10000"}

Notifying Search Engines

Google requires that you manually submit your sitemap location to them in order to allow the Sitemap Module to automatically ping them. You should submit the full url of your sitemap template. It only has to be submitted once and can be done from Google Webmaster Tools.