[WordPress] 外掛分享: RB Links Redirection

首頁 › 外掛目錄 › RB Links Redirection
WordPress 外掛 RB Links Redirection 的封面圖片
全新外掛
安裝啟用
—
尚無評分
2 天前
最後更新
—
問題解決
WordPress 6.2+ PHP 7.4+ v1.0.0 上架:2026-10-25

外掛標籤

開發者團隊

⬇ 下載最新版 (v1.0.0) 或搜尋安裝

① 下載 ZIP → 後台「外掛 › 安裝外掛 › 上傳外掛」
② 後台搜尋「RB Links Redirection」→ 直接安裝(推薦)
📦 歷史版本下載

原文外掛簡介

📄 Details | 📖 Documentation
RB Links Redirection sends old and broken addresses to the right page. Add a redirect in seconds, see which links lead nowhere in the 404 log, and never lose a visitor when you rename a page.
Redirects

301, 302, 303, 307 and 308 redirects, and 410 Gone for pages removed on purpose
Four kinds of rules: the exact address, addresses that start with or contain a text, and regular expressions with $1, $2 in the target
Redirect to a post: pick a post or page as the target, and the redirect follows it even when its address changes
Letter case and a trailing slash do not matter: /Old-Page/ and /old-page are the same address
The query string goes along (/old?utm_source=mail → /new?utm_source=mail), so campaign tracking survives
Hit counter and the time of the last hit for every redirect
Test an address before you save: see exactly where a visitor would go
Enable, disable and delete redirects one by one or in bulk; search and filter the list

Automatic redirects

A post’s address changes — a new slug, a new parent page, a different permalink date — and the old address keeps working with a 301 to the post
Subpages move with their page: one rule covers the whole branch
Changing the address back never makes a loop: the old redirect is removed

404 log

Every address that ends in “not found”, once, with hits, last visit and where visitors came from
One click turns a dead link into a redirect; fixed addresses are marked
Browser noise (favicon, touch icons) is left out; old entries are forgotten after a number of days you choose
Optionally send every other 404 to the home page or an address of your choice

Import and export

CSV in both directions: source, target, code, match_type, enabled, note
Importing the same file twice adds nothing twice

For developers

rb_redirection_add( '/old', '/new', 301, array( 'origin' => 'my-plugin' ) ) and rb_redirection_find( '/old' )
Actions rb_redirection_added, rb_redirection_before_redirect; filters rb_redirection_capability, rb_redirection_ignore_404
REST API under rb_redirection/v1

Fast: exact addresses are found by an index in a single query, pattern rules are cached. Works on Multisite — every site has its own redirects.
Works with Duplicate Post RB: when its cleanup removes duplicate posts, their addresses can redirect to the post that stays.

延伸相關外掛

文章
Filter
Mastodon