404 to 301


If you care about your website, you should take steps to avoid 404 errors as it affects your SEO badly. 404 ( Page not found ) errors are common and we all hate it, even Search engines do the same! Install this plugin then sit back and relax. It will take care of 404 errors!

What is 404 to 301?

Handling 404 errors in your site should be easy. With this plugin, it finally is.

404 to 301 Log Manager – Add-on is now available!

  • Instead of instant email alerts, get hourly, twice daily, daily, twice weekly, weekly alerts.
  • Limit the amount of emails sent out based on error logs count.
  • PDF file attachment of error logs will be delivered through the email.
  • Automatically clear old error logs based on time period.
  • Get email alerts to multiple email recipients.

Get this add-on now | See Docs

404 to 301 is a simple but amazing plugin which handles all 404 errors for you. It will redirect all 404 errors to any page that you set, using 301 (or any other) status. That means no more 404 errors! Even in Google webmaster tool you are safe!
You will not see any 404 error reports in your webmaster tool dashboard.

404 to 301 – Features

  • You can redirect errors to any existing page or custom link (globally).
  • You can set custom redirect for each 404 path!
  • No more 404 errors in your website. Seriously!
  • Translation ready!
  • You can optionally monitor/log all errors.
  • Exclude paths from errors.
  • You can optionally enable email notification on all 404 errors.
  • You can choose which redirect method to be used (301,302,307).
  • Will not irritate your visitors if they land on a non-existing page/url.
  • Super Light weight.
  • Increase your SEO by telling Google that all 404 pages are moved to some other page.
  • Completely free to use with lifetime updates.
  • Developer friendly.
  • Follows best WordPress coding standards.
  • Of course, available in GitHub

Installation | Docs | Screenshots

Bug Reports

Bug reports for 404 to 301 are always welcome. Report here.

More information

404 Errors and Redirect – More Details

If you are confused with these terms 404,301, redirect etc, refer this page to know more about the redirect and SEO.

Bug Reports

Bug reports for 404 to 301 are always welcome. Report here.


  1. 404-to-301 screenshot 1

    Settings – Settings page of 404 to 301.

  2. 404-to-301 screenshot 2

    Error Logs – Logged 404 Errors.

  3. 404-to-301 screenshot 3

    Custom Redirect – Setting custom redirect for each 404 paths.


What is the use of 404 to 301?

It will increase your SEO by redirecting all 404 errors using SEO redirects.

Can I monitor 404 errors?

Yes. You can. If you enable logs from settings, it will list all the errors.

How can I clear logs?

Select ‚clear logs‘ from bulk actions and submit. It will delete all log data from your db.

Can I get email notifications?

Yes. You can enable email notifications on each 404 errors (optional).

Can I set custom redirects for each errors?

Yes. You can set that from error logs table.

I need more details

Please take a look at the plugin documentation or open a support request.



Incredible – works and is amazing! Thanks so much. Get now! Look at your 404 error logs – you will be shocked at who has been trying to find a page on your site.

Lies alle 81 Rezensionen

Mitwirkende & Entwickler

„404 to 301“ ist Open-Source-Software. Folgende Menschen haben an diesem Plugin mitgewirkt.


„404 to 301“ wurde auf Portuguese übersetzt. Danke an die Übersetzer für ihre Mitwirkung.

Übersetze „404 to 301“ in deine Sprache.

Interessiert an der Entwicklung?

Durchstöbere den Code oder abonniere das Entwicklungsprotokoll per RSS.


2.3.3 (31/08/2016)

Bug Fixes

  • Using esc_url() for Ref and Url fields.
  • Fixed Cross Site Scripting vulnerability in „From“ column – Thanks to Plugin Vulnerabilities.

2.3.1 (27/08/2016)

Bug Fixes

  • Fixed Cross Site Scripting vulnerability – Thanks to Summer of Pwnage & Louis Dion-Marcil.
  • Fixed sorting issue in error log (Changed default order to Date Descending order).
  • Fixed issues when trailing slash found at the end of custom redirect.


  • Tested with WordPress 4.6.

2.3.0 (17/08/2016)

Bug Fixes

  • Removed unused UAN button from help page.
  • Completely safe to use.
  • Tracking completely removed from the plugin since it was detected as spam. Read more here.

2.2.9 (16/08/2016)

Bug Fixes

  • Serious issue fixed – Usage tracking script was being detected as spam.
  • Removed tracking completely.

2.2.8 (12/07/2016)

Bug Fixes

  • Fixed a minor bug on TOC button.

2.2.7 (07/07/2016)

Bug Fixes

  • Fixed issue with PHP 5.4 – Empty error log data.


  • Improved condition checking.
  • Speed improvements.
  • Made error log link to new tab.

2.2.6 (30/06/2016)

Bug Fixes

  • Fixed issue – Undefined index when accessed directly.


  • Improved condition checking.

2.2.5 (05/06/2016)

Bug Fixes

  • Fixed issue – Front end was slow.

2.2.4 (02/06/2016)

Bug Fixes

  • Fixed custom redirect issue.
  • Fixed issues when activating.

2.2.2 (01/06/2016)

New Feature

  • Now you can set custom redirects for reach error path.
  • Goto error logs list and set custom redirect.
  • Fixed issues with BuddyPress.


  • Improved code.

2.1.7 (20/04/2016)

New Add-on

  • New Log Manager add-on available now.
  • Get periodic email alerts instead of instant email alerts for every errors (add-on).
  • Automatically clear error logs (add-on).


  • Removed inactive filter – i4t3_before_404_redirect

2.1.6 (06/04/2016)


  • Fixed broken plugin website links.
  • Tested with WordPress 4.5.

2.1.5 (22/03/2016)


  • Fixed issues with deprecated functions – Thanks to Pedro Mendonça.
  • Translated missing strings.
  • Tested with WordPress 4.4.2.

2.1.4 (22/01/2016)

Bug Fixes

  • Fixed issues when clearing logs (header already sent..).
  • Tested with WordPress 4.4.1.

2.1.3 (20/12/2015)

Bug Fixes

  • Fixed issues with older version of WordPress.
  • Fixed issues with older version of PHP.

2.1.0 (20/12/2015)

New Feature

  • New option to set items per page from error log listing page.
  • New option to show or hide items from listing table (Screen option).


  • Improved error listing page table structure.

Bug Fixes

  • Fixed issue – Null value issue when no Referrer or User Agent found.
  • Fixed issue – Clearing errors and redirecting.

2.0.9 (2/11/2015)

Bug Fixes

  • Fixed issue – Empty needle issue after 2.0.8 update.

2.0.8 (28/10/2015)

New Feature

  • New option to exclude paths from error logs and redirect – See details.

Bug Fixes

  • Fixed issue – Email notifications are being sent even after disabling it.
  • Fixed issue – Settings reset after reactivation of plugin.

2.0.7 (25/09/2015)

New Feature

  • New option to change error notification email address.
  • Now 100% Translation ready.


  • Minor code improvements.

2.0.6 (13/09/2015)


  • Introduced new website for the plugin.
  • Fixed few dead link issues

2.0.5 (03/09/2015)


  • Added option to avoid search engine crawlers/bots from logging errors.

Bug Fixes

  • Fixed error log per page issue.

2.0.4 (26/08/2015)

Bug Fixes

  • Fixed an issue where error log table is not being created.

2.0.3 (21/08/2015)

Bug Fixes

  • Fixed a serious issue which may cause SQL injection attack.

2.0.2 (16/08/2015)

Bug Fixes

  • Fixed an issue with https redirect.
  • Fixed an issue with url preg_match.

2.0.1 (29/07/2015)

New Feature

  • Now you can log/monitor all 404 errors (optional).
  • You can get email notifications on 404 errors (optional).
  • You can select existing pages from dropdown to set as redirect page.
  • New plugin home page.


  • Upgraded to WordPress plugin coding standard.
  • Documented all functions.


  • Very minor bug fix
  • Tested for WP 4.2


  • Fixed options saving issue in admin page.
  • Improved performance.


  • Tested with latest version.
  • Improved structure.


  • Bug fix.
  • Fixed permission issue on redirect link on plugin activation.


  • Bug fix.
  • Fixed permission issue on activating along with some security plugins like WordFence.


  • Added official support forum.


  • Added official website details.


  • Added first version with basic options.