page tree

Integrates folder-based hierarchical URL slugs with visual management in Payload CMS.

Community 17 231/wk MIT v0.3.16

Installation

pnpm add @delmaredigital/payload-page-tree

About

The Payload page tree plugin enhances the built-in folders feature by automatically generating hierarchical URL slugs. Users can define their URL structure with folders, and the plugin allows pages to select a folder, making slug management easier and more organized. The slugs are auto-generated based on the folder path and the page segment. To integrate the plugin, developers need to install it and add it to their Payload configuration. A necessary `slug` field within collections is read-only and auto-populated by the plugin. The visual tree management view is available at `/admin/page-tree` and allows users to see the hierarchy of pages in an organized manner. This plugin requires specific configurations to avoid using Payload's built-in `slugField()` helper, promoting a simpler text field approach. It seamlessly integrates with existing collections, enhancing structuring for developers and content managers alike.

Package info

Package name
@delmaredigital/payload-page-tree
Latest version
0.3.16
Unpacked size
305 kB
License
MIT
Weekly downloads
231
Last publish
Jun 6, 2026

More from delmaredigital

View profile

Similar plugins

More in Content