Description
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,$2in 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-pageare 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' ) )andrb_redirection_find( '/old' )- Actions
rb_redirection_added,rb_redirection_before_redirect; filtersrb_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.
Installation
- Install from Plugins → Add New, or upload the
rb-links-redirectionfolder to/wp-content/plugins/. - Activate the plugin.
- Open RB Plugins → Links Redirection.
FAQ
301 or 302?
301 when a page moved for good: search engines move its ranking to the new address. 302 or 307 for a short time, like a seasonal sale page.
What is 410?
“Gone”: the page was removed on purpose and will not come back. Search engines drop it faster than a 404.
Can I redirect a whole section?
Yes: a “Starts with” rule for /old-blog/, or a regular expression ^/old-blog/(.*)$ with the target /blog/$1 to keep the rest of the address.
Will redirects slow my site down?
No. An exact address is found by a database index in one query, and the few pattern rules are cached.
Are the admin, the login page and the REST API safe?
Yes, they are never redirected, so a broad rule cannot lock you out.
What happens when I delete the plugin?
Its tables, settings and schedule are removed, on every site of a network. Deactivating keeps everything.
Screenshots
Changelog
1.0.1 (06-11-2026)
- Admin interface: a compact banner at the top of the settings screen;
- Fixed: a redirect the database refused to save is an error now, in the screen and in the import count, not a success.
- Fixed: the export holds every redirect (it stopped at 5000), and it brings back a redirect that follows a post and an automatic one as they were; on another site a post of the same number is not taken for it.
- Fixed: a CSV line break inside quotes stays in its cell instead of making a new redirect; a quote left open is reported.
- Fixed: redirects made for moved pages with subpages work on a site in a subfolder.
- Fixed: redirects that would lead to each other in a circle are refused.
- Fixed: the visitor’s query goes before a #fragment of the target.
- Fixed: “contains” finds the text anywhere in the address, not only after a slash.
- Fixed: a redirect to a post unpublished since no longer sends visitors to the home page with a 301.
- Fixed: a 404 fallback to the same path on another site works; an encoded ? in an address stays part of its path; a full address with no host is refused.
- Fixed: “Test an address” shows the query the visitor would keep; a late answer no longer replaces the list of the current filter, and a setting changed during saving stays on the screen as unsaved.
1.0.0 (11-10-2026)
- First release: redirects with exact, starts-with, contains and regular-expression rules; 301, 302, 303, 307, 308 and 410; redirects to posts that follow their address; automatic redirects when a post’s address changes; 404 log; 404 fallback; CSV import and export; hit counter; REST API and PHP functions.




