Managed Redirects

Managed redirects with cache-backed Next.js middleware and an orderable admin list

Community 16 315/wk MIT v0.3.1

Installation

pnpm add @whatworks/payload-redirects

About

Managed Redirects lets editors add and reorder redirects in the Payload admin and serves them from a shared cache at the edge, so visitors are redirected without a database query on each request. Editors fill in a From and To field by default, with match types for exact, prefix, suffix, contains and regular expressions with capture groups. Destinations can be a document, which follows the page if its path changes, or any URL. The plugin also checks new redirects for loops, flattens chains so visitors take one hop, and counts hits per redirect. Teams that run Next.js across several regions get correct answers on a cold cache, and a framework-agnostic resolver covers other servers.

Package info

Package name
@whatworks/payload-redirects
Latest version
0.3.1
Unpacked size
367 kB
License
MIT
Weekly downloads
315
Last publish
Oct 23, 2026

More from what-works-global

View profile

Switch the admin panel between production and development databases, and copy production down

Role-based access control with a per-collection permissions matrix in the admin panel

Stores a computed path on each page so URLs resolve with one indexed lookup

Audit feed of document changes and user logins across every collection and global

Records who created and last edited each document, with names shown in the admin

Syncs Payload collections to Algolia with draft-aware indexing and admin reindexing

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