Path

Stored URL paths for pages and posts, with one lookup per path

Community 1.3k/wk SEE LICENSE IN LICENSE v0.4.1

Installation

pnpm add @payloadpack/path

About

Path gives each page and post a stored URL made from its parent and its slug. Editors choose a parent and a slug in the admin, and the plugin keeps each path unique across every collection it covers, so two documents cannot claim the same address. Renaming or moving a page carries everything below it along.

Your site's catch-all route can ask for the document at a URL and get it back in a single indexed query, with localized paths per language if you need them. Reserved segments and the home page are kept out of the way of your own routes.

Package info

Package name
@payloadpack/path
Latest version
0.4.1
Unpacked size
172 kB
License
SEE LICENSE IN LICENSE
Weekly downloads
1.3k
Last publish
Nov 26, 2026

More from payloadpack

View profile

Manages site redirects in Payload with fast lookups and suggestions on page moves

Appearance panel where each editor picks a style, palette and icons for the admin

Similar plugins

More in Content

Lets admins define record types and fields at runtime without schema changes

Click text in a Next.js preview to open the matching field in the Payload admin

Markdown fields with a CodeMirror editor, styled directives and MCP access for AI agents

Uses prefixed UUIDv7 TypeIDs as native Payload document IDs per collection

Creates redirect rules automatically when published URLs change

Shared CMS setup for Pebble sites: users and roles, R2 media, signed cache purge and previews