Skip to content

v0.1.0

Latest

Choose a tag to compare

@github-actions github-actions released this 14 Oct 09:51
· 6 commits to main since this release

v0.1.0 (2026-10-14)

First release of Sitemap for Payload. It builds sitemap.xml from your Payload content, stores the files through any Payload storage adapter and keeps them fresh. This line is for Payload 3. For Payload 4, use the beta tag (1.x).

pnpm add @seshuk/payload-plugin-sitemap

Requirements

  • Payload 3.83+ and Node.js 22+.
  • Something that runs Payload jobs (jobs.autoRun, payload jobs:run on a cron, or your own worker), or jobs: false to start runs yourself.
  • Run payload generate:importmap after you add the plugin.

Features

  • Index and child sitemaps. Split at the spec limits (50,000 URLs or 50 MB), with images and hreflang.
  • Any source. Collections, static pages and your own URL lists in one sources array. url: '/blog/:slug' is enough. Every option is checked at startup.
  • Only public pages. By default, read as an anonymous visitor. Drafts are never listed.
  • Editors in control. Exclude a page or set its priority right in the document.
  • Locales and tenants. A domain per locale, and a sitemap per tenant with @payloadcms/plugin-multi-tenant.
  • Any storage. S3, R2, Bunny, Vercel Blob, local disk or your own upload. Optional publish to a CDN.
  • Fresh and safe. Edits queue one job, unchanged files are skipped, and a failed run keeps the old files online.
  • Stable URLs. /api/sitemap.xml with ETag and 304, or the same files on your site domain with sitemapProxy.
  • Admin page and widget. Status, file table and a Regenerate button, in every language Payload ships.

The plugin sends anonymous usage telemetry: plugin, Payload and Node.js versions and which features are on. Turn it off with telemetry: false, SITEMAP_TELEMETRY_DISABLED=1 or DO_NOT_TRACK=1.

🚀 Features