Permalink

Adds WordPress-style permalinks and canonical paths to Payload collections

Community 0 14/wk MIT v1.1.1

Installation

pnpm add @sittari/payload-permalink

About

Permalink gives each document in the collections you choose a readable address, such as /blog/hello-world for a post or /category/shoes/boots for a nested category. Each collection can have its own URL prefix, and a reserved slug sets the root of a prefix, such as the home page. Child documents build their paths from their parent's path when a parent field is configured.

Published paths are tracked in an internal registry, so two published documents cannot share one address. When a path is already taken, the new slug gets the document ID appended. Drafts do not claim a path until they are published. Editors change only the final segment of the URL in a permalink field in the admin panel, and localized sites can prefix every locale or only the non-default ones. Lookup helpers resolve a path to its document on the server.

Package info

Package name
@sittari/payload-permalink
Latest version
1.1.1
Unpacked size
138 kB
License
MIT
Weekly downloads
14
Last publish
Sep 11, 2026

More from sittari-studio

View profile

Adds a URL slug field to Payload collections, filled from the title field

Locale-aware SEO fields, metadata resolution, robots, redirects and sitemaps

Database-stored roles and a permissions matrix that gate every collection and global

Link field with a drawer editor and Lexical link feature

Managed template documents that editors can fill in but cannot create or delete

Localized UI strings global with per-scope admin tabs and fallback translations

Similar plugins

More in Content

Adds question-based conditions that decide which pages a visitor sees

Opens nested blocks and array rows in stacked panels with breadcrumb navigation

Click-to-edit overlays on the frontend that open the matching field in the admin

Inline editing on your live website for Payload content, with reviewed drafts

Visual drag-and-drop page builder for Payload collections with live canvas editing

Adds a parent field and breadcrumbs to collections so documents can nest inside each other