XML sitemap

Automatic /sitemap.xml with all indexable pages, CMS items per collection, every language, and room for custom URLs.

Every site serves /sitemap.xml. Its content is a template: the token @pages expands to all static pages that are not noindex, and @collection.<id> expands to the URLs of all published items of that collection. Custom <url> entries can be added by hand. In SEO Manager > Sitemap you toggle Pages and each collection on or off, or edit the raw template in a code editor. For multilingual sites every URL is listed once per language.

How it works

  • Setting dh.sitemap, default '@pages'.
  • @pages: pages without a data source, without ':' in the route and without 'noindex'. Each is listed for every site language (non-default languages get a /<lang>/ prefix).
  • @collection.<id>: for every page that uses that collection as source, the collection's sitemap callback lists published, non-child, schedule-respecting items in batches of 1,000, replacing :id and :slug in the route.
  • @domain expands to the site's domain link.
  • Output: <urlset> with <url><loc> only (no lastmod, changefreq or priority).
  • Admins see a message instead of the sitemap; log out or use a private window to view it.
  • Event dh.sitemap runs before building.

When to use it

  • Submit one sitemap to Google Search Console that includes every blog post
  • Add an external landing page URL to the sitemap by hand

Limitations

  • No lastmod, priority or changefreq
  • No sitemap index or splitting for very large sites
  • Dynamic pages with route parameters other than :id and :slug are not expanded
  • Logged-in admins cannot preview it

Availability

  • Works in Designer and MCP.
  • Included in every plan.
  • Limits: MCP text up to 100,000 characters

How to use it.

  1. Open SEO Manager > Sitemap
  2. Turn on Pages and the collections you want indexed
  3. Optionally edit the Advanced template and click Save Sitemap
  4. Open /sitemap.xml in a private window to check

Questions.

Do CMS items appear automatically?

Related features.

No card needed

Build it today.Pay when it goes live.

Every feature is unmetered while you build. Checkout opens the first time you publish.