
內容簡介
Redirection Manager 是一款強大的重定向管理外掛,適用於傳統 WordPress 網站及 Headless WordPress 設定,特別適合使用 Next.js、Nuxt.js、React 等 JavaScript 框架的開發者。
【主要功能】
• 全球重定向管理介面
• 支援 301、308 和 410 狀態碼
• 文章級重定向設定
• 內容管理與相關內容檢測
• GraphQL 整合功能
• 開發者友好的清晰代碼
外掛標籤
開發者團隊
原文外掛簡介
Redirection Manager manages redirects for both classic WordPress sites and headless setups built with Next.js, Nuxt.js, React and other JavaScript frameworks. Create and search global redirects from a clean admin screen, set per-post redirects from the editor, watch real front-end 404s, test how a URL resolves, and expose everything to your frontend over a REST API or GraphQL.
Redirects are stored in a dedicated database table and resolved early on each front-end request, with object caching for fast lookups on sites that use a persistent cache such as Redis or Memcached.
Note: The WPGraphQL plugin is required only for the GraphQL features. Everything else works without it.
Key Features
Redirect management
Add, edit, delete, search and filter global redirects from Tools → Redirect Manager.
Status codes 301, 302, 307 and 308, plus 410 (Gone) and 404 (Not Found) rules.
Redirect to a path on your site or to an external http/https URL.
Query-string handling: pass the visitor’s query string (for example UTM tags) on to the destination, ignore it, or match one exact query string.
Self-redirect, redirect-loop and redirect-chain detection when you save.
Sortable columns, status/needs-review filters, pagination, and bulk delete / enable / disable / status changes in a single request.
Hit count and last-hit time per redirect (can be turned off).
Multisite ready: network activation and new sites are set up automatically.
Post-level redirects
“Redirect Settings” meta box on all public post types (posts, pages, custom post types, WooCommerce products).
Supports 301, 302, 307, 308 and 410 at the post level.
Automatic 301 redirect when a published post’s or page’s URL changes (the post itself, not its children). Manual and imported redirects are never altered.
Headless & API
REST API under /wp-json/redirection-manager/v1: single-URL lookup, rule list, rules version, exports, a token-authenticated 404 reporting endpoint, and administrator-only management endpoints.
ETag / If-None-Match support (HTTP 304) driven by a rules version that changes whenever a redirect changes.
Headless 404 reporting secured with a per-site API token and rate limited.
Exports for Next.js, Vercel, Netlify and Nginx, each with a report of the rules that format cannot express.
HMAC-SHA256 signed webhooks when redirects change, debounced and delivered in the background with retries.
GraphQL
redirectionManager query returns enabled global redirects (newest first) with optional limit/offset paging.
redirectType and redirectUrl fields on all public post types.
Monitoring & tools
404 log of genuine front-end “Not Found” URLs, with bounded storage, configurable retention and redirect suggestions. Suggestions are never applied automatically.
Redirect tester that follows rules and post-level redirects for a URL and shows each hop, loops and long chains, without requesting external sites.
CSV import with a dry-run preview. Existing redirects are never overwritten.
CSV export of all redirects (including hits, last hit and origin) for backup and migration.
Automatic URL normalization for consistent matching.
Supported redirect types
301 Moved Permanently — permanent redirect with a destination URL.
302 Found — temporary redirect.
307 Temporary Redirect — temporary redirect that preserves the HTTP method.
308 Permanent Redirect — permanent redirect that preserves the HTTP method.
410 Gone — content is permanently removed; no destination needed.
404 Not Found — serves your theme’s 404 page for the URL (kept for rules created in 1.0.0).
