---
title: 'Dynamic Sitemap add-on (statamic v1)'
url: 'https://maxwesten.nl/projects/statamic-addons/sitemap-plugin'
markdown: 'https://maxwesten.nl/projects/statamic-addons/sitemap-plugin.md'
date: '2012-07-08'
description: 'UPDATE: This add-on is for Statamic V1 -- Deprecated! This is an addon for Statamic V1. The development and support has stopped. Introduction This add-on generates a sitemap of all folders, pages and entries on the site and automatically sets the change frequency and priority of the entries. Installation Copy or clone the files to their destination Down'
taxonomy:
  archives_month:
    - jul_2012
  archives_year:
    - '2012'
---

# Dynamic Sitemap add-on (statamic v1)

[Home](https://maxwesten.nl/)  [Projects](https://maxwesten.nl/projects)  [Statamic Addons](https://maxwesten.nl/projects/statamic-addons)  Dynamic Sitemap (S1) 

## [Dynamic Sitemap add-on (statamic v1)](https://maxwesten.nl/projects/statamic-addons/sitemap-plugin)[on GitHub](https://github.com/mwesten/Plugin-Sitemap)

    8th Jul 2012  

## UPDATE: This add-on is for Statamic V1 -- Deprecated!

This is an addon for Statamic V1. The development and support has stopped.

## Introduction

This add-on generates a sitemap of all folders, pages and entries on the site and automatically sets the change frequency and priority of the entries.

## Installation

### Copy or clone the files to their destination

Download the project and add the contents of archive to the `_add-ons/sitemap` folder.

Or clone this project on your system:

```
cd webfolder/_add-ons
git clone git://github.com/mwesten/Plugin-Sitemap.git sitemap
```

### Copy the layout and template files

Copy the files from the `_add-ons/sitemap/layouts` folder to your `_themes/themename/layouts` folder.

Copy the files from the `_add-ons/sitemap/templates` folder to your `_themes/themename/templates` folder.

### Copy the sitemap-page

Copy the file `sitemap.md` from the `_add-ons/sitemap/content` folder to your `_content` folder.

The sitemap will then be available by calling `http://example.com/sitemap`.

You can also rename the file. If you rename the file to `sitemap.xml.md` ti will be available as `http://example.com/sitemap.xml`.

## Usage

By default all non-hidden folders/pages/entries will be scanned and included in the sitemap. It adds the URL of the folder/page/entry, adds the last modification time(**lastmod**) and based on how long the last change is made, sets the change frequency(**changefreq**) accordingly and adds the weight of the page(**priority**). The priority can be set between 0 and 1 and is by default 0.5. If you want to change the priority for a page, you can add the variable `priority: 0.6` to the YAML prematter of the markdown file.

[←](https://xn--sr8hvo.ws/%F0%9F%92%95%F0%9F%8E%89%E2%A4%B5%EF%B8%8F/previous)An IndieWeb Webring 🕸💍 [→](https://xn--sr8hvo.ws/%F0%9F%92%95%F0%9F%8E%89%E2%A4%B5%EF%B8%8F/next)

---

## Navigation

- Parent: [Statamic Addons](https://maxwesten.nl/projects/statamic-addons.md)
- Previous: [Highlight.js add-on (Statamic v2)](https://maxwesten.nl/projects/statamic-addons/highlight-v2-addon.md)
- Next: [Flickr Random badges add-on (Statamic v1)](https://maxwesten.nl/projects/statamic-addons/flickr-plugin.md)
