Discover, trust, install: FAIR 1.0 is here

Plugin Banner

301 Redirects & 404 Error Log

by WebFactory

Version: 1.05

Download
Description

A perfect plugin for creating a new site from an old site or changing the domain name, and managing all of the redirects and broken URLs by using redirection.

Find the link to 301 Redirects in the main Settings menu.
404 error log can be found on the same page, and on the admin dashboard.

301 Redirects plugin creates a new table in the WP database called ‘WP_PREFIX_ts_redirects’ that stores all of your redirect rules and redirections. On plugin deactivation the table is not deleted. When you delete the plugin then the redirection table is deleted forever.

Why is the 404 error log limited to the last 50 errors?
By default, the 404 error log is limited to the last (chronologically) fifty 404 errors. Since the 404 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 404 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 301_redirects_max_404_logs filter or by using the following code snippet to raise the limit to 200:

add_filter('301_redirects_max_404_logs', function($log_max) { return 200; }, 10, 1);

GDPR compatibility
We are not lawyers. Please do not take any of the following as legal advice.
301 Redirects does not use any 3rd party services or CDNs. It does create a 404 error log which saves the following info when a non-existing (404) page is opened: timestamp of the event, URL of the 404 page, user agent based on the user agent string from the user’s browser. No IP related data or any other identifiable user data is saved or processed. Based on that, we feel it’s GDPR compatible, but again, please, don’t take this as legal advice.

  1. Just add title, section, old link & new link to redirect URLs.

    Just add title, section, old link & new link to redirect URLs.

How to disable this plugin?

Just use standard Plugin overview page in WordPress admin section and deactivate it or rename plugin folder /wp-content/plugins/301-redirects over FTP access.

Will it slow my site down?

No, it won’t. It’s only loaded on the pages it protects.

How can I report security bugs?

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.

Solid basic plugin

By jasontlp on August 11, 2023

Functional enough plugin and easy to use. Pretty aggressive about upgrades and actively pushes toward the higher tiers of subscription though - no way to download logs, or filter by date, or any of the things a more experienced user would want to do.

semi usefull

By niwieder on January 11, 2022

URLS cannot be exported via the backend. The plugins does what it should, but for people with a bit more experience it offers to less options and there are plugins offering the same and even more.

Interesting plugin

By Wizard_134 on July 14, 2021

Simply and helpful!

Great plugin!

By sfehmi on February 21, 2021

No issues at all. Works great and very happy with this plugin! Simple and easy to use. Which is a huge bonus!

Great Plugin

By Chrystalla Nicolas (jeavonseurotir) on January 12, 2021

Works perfectly and is ideal for a small number of redirects

Works well

By matthewguy on December 23, 2020

Did exactly what I wanted it to do and was easy to set up and worked first time.

So good: my burden lifted

By Anonymous User 16537741 (anonymized_16537741) on November 17, 2020

The clear instructions at the top of the action page makes all the difference. Thank you.

Great plugin!

By JohnG. (coopcrisdad) on November 10, 2020

Great plugin! With a few updates, I would give it 5 stars and pay for it.

4/5 - Does the job well / could use a little improvement (like everything)

By sheriffderek on October 25, 2020

Does the job well / could use a little improvement (like everything)

plugin does not remove database tables...

By Anonymous User (anonymized_11362404) on October 4, 2020

Plugin leaves trash behind. It does not delete all the database tables it creates when you uninstalled it. Also, when you use the plugin you are welcomed with this Pop Up, a BIG-O-BANNER no less to promote the Pro Version. How about a link to purchase pro version for those who are interested instead. Other than this it works good but I wont recommend it or use it for the reasons I mentioned. Plugin: Simple yes, Clean no.

v1.05

  • 2025/08/04
  • minor code fixes

v1.04

  • 2024/06/30
  • minor security fixes

v1.03

  • 2024/03/25
  • WordPress 6.5 and PHP 8.2 compatibility

v1.02

  • 2022/11/20
  • minor security fixes

v1.01

  • 2021/04/26
  • added Delete all redirect rules button
  • fixed privilege error for 404 Error dashboard widget

v1.0

  • 2021/02/25
  • added 404 error log
  • added 404 error log dashboard widget
  • bug fixes
  • security fixes

v0.5

  • 2020/09/30
  • 10,000 installations; 62,660 downloads
  • minor bug fixes
  • added promo for WP 301 Redirects PRO

v0.4

  • 2019/06/20
  • 10,000 installations; 40,940 downloads
  • bug fixes

v0.1

  • 2015/04/06
  • first release
  • Version:Version: 1.05
  • Active installs:Active installs: 30K
  • Last updated:Last updated: 2 months ago
  • Requires:Requires: 4.0
  • Tested:Tested: 6.8.2
Average rating:4.5 out of 5 stars.
  • Number of ratings: 20 ratings
  • Number of ratings: 2 ratings
  • Number of ratings: 3 ratings
  • Number of ratings: 0 ratings
  • Number of ratings: 1 ratings
Back to top