Manage 301 & 302 redirects. Simple redirection & redirects validation. Includes redirect stats & 404 error log.
301 Redirects helps you manage and create 301, 302, 307 redirects for WordPress site to improve SEO & visitor experience. 301 Redirects is easy to use. Perfect for new sites or repairing links after reorganizing your old content, or when your site has content that expires and you wish to avoid sending visitors to a 404 error page and want to create redirection instead. Use the 404 error log to identify problematic links.
301 Redirects GUI is located in WP Admin – Settings – 301 Redirects
404 Error Log widget can be found in the WP Admin – Dashboard
Features
Need more features?
WP 301 Redirects PRO offers wildcard & regular expression URL matching, auto-typo fixing in URLs, complete redirect and 404 log, link scanner, and a centralized SaaS dashboard to monitor redirects on all your sites from one place.
What is a 301 Redirect?
A redirect is a simple way to re-route traffic coming to a Requested URL to different Destination URL.
A 301 redirect indicates that the page requested has been permanently moved to the Destination URL, and helps pass on the Requested URLs traffic in a search engine friendly manner. Creating a 301 redirect tells search engines that the Requested URL has moved permanently, and that the content can now be found on the Destination URL. An important feature is that search engines will pass along any clout the Requested URL used to have to the Destination URL.
When Should I use 301 Redirects?
* Replacing an old site design with a new site design
* Overhauling or re-organizing your existing WordPress content
* You have content that expires (or is otherwise no longer available) and you wish to redirect users elsewhere
Is the 404 error log GDPR friendly?
The 404 error log does not collect user IPs. It collects the following data: timestamp of the event, the (404) URL that was opened, and the user-agent string.
Having problems with SSL? Moving a site from HTTP to HTTPS?
Install our free WP Force SSL plugin. It’s a great way to enable SSL and fix SSL problems.
External libraries used in the project
* PHP User Agent Parser
eps-301-redirects
folder to the /wp-content/plugins/
directoryA redirect is a simple way to re-route traffic coming to a Requested URL to different Destination URL.
A 301 redirect indicates that the page requested has been permanently moved to the Destination URL, and helps pass on the Requested URLs traffic in a search engine friendly manner. Creating a 301 redirect tells search engines that the Requested URL has moved permanently, and that the content can now be found on the Destination URL. An important feature is that search engines will pass along any clout the Requested URL used to have to the Destination URL.
301 Redirects requires that you use anything but the default permalink structure.
This could be caused by many things, but please ensure that you are supplying valid URLs. Most common are extra spaces, extra slashes, spelling mistakes and invalid characters. If you’re sure they’re right, chances are your browser has cached the 301 redirect (in an attempt to make the redirection faster for you), but sometimes it doesn’t refresh as fast as we would like. Clear your browser cache, or wait a few minutes to fix this problem.
My redirects aren’t working – the old .html page still shows
For this plugin to work, the page must be within the WordPress environment. If you are redirecting older .html or .php files, you must first delete them. The plugin can’t redirect if the file still exists, sorry! You should look into .htaccess redirects if you want to keep these files on your server.
Your Request or Redirect URLS may be incorrect; please ensure that you are supplying valid URLs. Check slashes. Try Viewing the page by clicking the Request URL – does it load correctly?
Click the small X beside the redirect you wish to remove.
Unfortunately this is not supported. You should look into WP 301 Redirects PRO for these advanced features.
By default, any URL with a query string is considered unique, and will redirect to a unique page (if you so wish). The query string will be added to the Destination URL, which allows you to keep your tracking codes, affiliate codes, and other important data! If you want to have full control over query strings, ignore them, add or remove them consider upgrading to WP 301 Redirects PRO.
When you deactivate the plugin, obviously, redirects stop working. But, they are not deleted from your database. When you delete the plugin then the redirects are permanently deleted from the database along with any other data stored by the plugin in your database.
By default, the 404 error log is limited to the last (chronologically) fifty 404 errors. Since the log doesn’t use a custom database table for storage but rather an array saved in WP options, 50 is a safe number that ensures the log works on all sites, that it doesn’t take up too much space in the database and that it doesn’t slow down the site.
The code imposes no limits on the log size and you can easily overwrite the default limit by using the eps_301_max_404_logs filter or by using the following code snippet to raise the limit to 200:
add_filter(‘eps_301_max_404_logs’, function($log_max) { return 200; });
You can report security bugs through the Patchstack Vulnerability Disclosure Program. The Patchstack team help validate, triage and handle any security vulnerabilities. Report a security vulnerability.