Plugin Author: John Godley
WordPress profile: John Godley
Last updated: September 22, 2019 (23 hours ago)
Tested up to (WP version): WP 5.2.3
Rating: 5 (out of 5)
Redirection is the most popular redirect manager for WordPress. With it you can easily manage 301 redirections, keep track of 404 errors, and generally tidy up any loose ends your site may have. This can help reduce errors and improve your site ranking.
Redirection is designed to be used on sites with a few redirects to sites with thousands of redirects.
It has been a WordPress plugin for over 10 years and has been recommended countless times. And it’s free!
Full documentation can be found at https://redirection.me
Redirection is compatible with PHP from 5.4 and upwards (including 7.2).
Create and manage redirects quickly and easily without needing Apache or Nginx knowledge. If your WordPress supports permalinks then you can use Redirection to redirect any URL.
There is full support for regular expressions so you can create redirect patterns to match any number of URLs. You can match query parameters and even pass them through to the target URL.
The plugin can also be configured to monitor when post or page permalinks are changed and automatically create a redirect to the new URL.
In addition to straightforward URL matching you can redirect based on other conditions:
- Login status – redirect only if the user is logged in or logged out
- WordPress capability – redirect if the user is able to perform a certain capability
- Browser – redirect if the user is using a certain browser
- Referrer – redirect if the user visited the link from another page
- Cookies – redirect if a particular cookie is set
- HTTP headers – redirect based on a HTTP header
- Custom filter – redirect based on your own WordPress filter
- IP address – redirect if the client IP address matches
- Server – redirect another domain if also hosted on this server
- Page type – redirect if the current page is a 404
A configurable logging option allows to view all redirects occurring on your site, including information about the visitor, the browser used, and the referrer. A ‘hit’ count is maintained for each redirect so you can see if a URL is being used.
Logs can be exported for external viewing, and can be searched and filtered for more detailed investigation.
Display geographic information about an IP address, as well as a full user agent information, to try and understand who the visitor is.
You are able to disable or reduce IP collection to meet the legal requirements of your geographic region.
Track 404 errors
Redirection will keep track of all 404 errors that occur on your site, allowing you to track down and fix problems.
Errors can be grouped to show where you should focus your attention, and can be redirected in bulk.
Query parameter handling
You can match query parameters exactly, ignore them, and even pass them through to your target.
Apache & Nginx support
By default Redirection will manage all redirects using WordPress. However you can configure it so redirects are automatically saved to a .htaccess file and handled by Apache itself.
If you use Nginx then you can export redirects to an Nginx rewrite rules file.
Import & Export
The plugin has a fully-featured import and export system and you can:
- Import and export to Apache .htaccess
- Export to Nginx rewrite rules
- Copy redirects between sites using JSON
- Import and export to CSV for viewing in a spreadsheet
- Use WP CLI to automate import and export
You can also import from the following plugins:
- Simple 301 Redirects
- SEO Redirection
- Safe Redirect Manager
- Rank Math
- WordPress old slug redirects
Wait, it’s free?
Yes, it’s really free. There’s no premium version and no need to pay money to get access to features. This is a dedicated redirect management plugin.
Please submit bugs, patches, and feature requests to:
Please submit translations to:
Why would I want to use this instead of .htaccess?
Ease of use. Redirections are automatically created when a post URL changes, and it is a lot easier to manually add redirections than to hack around a .htaccess. You also get the added benefit of being able to keep track of 404 errors.
What is the performance of this plugin?
The plugin works in a similar manner to how WordPress handles permalinks and should not result in any noticeable slowdown to your site.
Latest Change log entry:
- Add ‘URL and language’ match
- Add page display type for configurable information
- Add ‘search by’ to search by different information
- Add filter dropdown to filter data
- Add warning about relative absolute URLs
- Add 451, 500, 501, 502, 503, 504 error codes
- Fix multiple ‘URL and page type’ redirects
- Improve invalid nonce warning
- Encode replaced values in regular expression targets
301, 404, htaccess, redirect, seo
+ Jason's Comments
This plugin helps when moving or converting a page in to a category with posts. WordPress can help redirect old URL, when changed but won’t know you have moved a page to a category or post, and vice versa. Besides manual input of source and destination, the plugin logs 404 (missing page) visits and provides a redirection (301 permanent) option.
Website Optimization and Maintenance
There are a few ways to optimize and speed up your website for viewers and search engines: database clean up, image optimization, page / script compression, CPU / server load optimization, server file caching and utilize browser caching.