Mity Docs Mity Docs for Mity Digital
Sitemapamic Documentation

Sitemapamic

Sitemapamic is a XML sitemap generator for Statamic 6.

It is available open source for you to use in your Statamic projects.

Features

Sitemapamic creates a sitemap.xml file for your Statamic site, and includes:

  • Automatic content discovery: every collection and taxonomy that has routes is automatically included, along with term pages for each collection’s taxonomies - and you can still have granular control if you need.

  • Entries, terms and your own URLs: add URLs that don’t come from Statamic, such as custom or dynamic routes

  • Control per entry: map your own blueprint fields for include, changefreq and priority. There’s a ready-made Sitemap Change Frequency fieldtype for the changefreq field, as well as support for computed mappings.

  • Sensible defaults: set default changefreq and priority for the whole site or for each collection or taxonomy.

  • Your choice of layout: one file per collection and taxonomy under a sitemap.xml index, or everything in one sitemap.xml.

  • Built for large sites: files are split automatically at the protocol limits of 50,000 URLs or 50MB.

  • Caching: cached until your content changes, or for a set time.

  • Multi-site: each site gets its own sitemap, on the same domain or on different domains.

  • Works with the Eloquent driver as well as flat files.

  • Works with the Statamic Static Site Generator

Unpublished and private entries (for date-based collections) are excluded from your sitemap too.