Title: 404 to 301 &#8211; Redirect, Log and Notify 404 Errors
Author: Joel James
Published: <strong>24 جولای 2014</strong>
Last modified: 9 دسامبر 2025

---

جستجوی افزونه‌ها

![](https://ps.w.org/404-to-301/assets/banner-772x250.png?rev=2251138)

![](https://ps.w.org/404-to-301/assets/icon-128x128.png?rev=2251146)

# 404 to 301 – Redirect, Log and Notify 404 Errors

 توسط [Joel James](https://profiles.wordpress.org/joelcj91/)

[دانلود](https://downloads.wordpress.org/plugin/404-to-301.3.1.5.zip)

 * [جزئیات](https://fa.wordpress.org/plugins/404-to-301/#description)
 * [نقد و بررسی‌ها](https://fa.wordpress.org/plugins/404-to-301/#reviews)
 *  [نصب](https://fa.wordpress.org/plugins/404-to-301/#installation)
 * [توسعه](https://fa.wordpress.org/plugins/404-to-301/#developers)

 [پشتیبانی](https://wordpress.org/support/plugin/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](https://duckdev.com/products/404-to-301-log-manager/) | 
> [See Docs](https://duckdev.com/docs/404-to-301-log-manager/)

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.
>  * 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](https://github.com/joel-james/404-to-301)
> [Installation](https://wordpress.org/plugins/404-to-301/installation/) | [Docs](https://duckdev.com/docs/404-to-301/)
> | [Screenshots](https://wordpress.org/plugins/404-to-301/screenshots/)

**Bug Reports**

Bug reports for 404 to 301 are always welcome. [Report here](https://duckdev.com/contact/).

**More information**

 * [404 to 301 – Plugin Homepage](https://duckdev.com/products/404-to-301), containing
   more details and docs.
 * Follow the developer [@Twitter](https://twitter.com/Joel_James)
 * Other [WordPress plugins](https://profiles.wordpress.org/joelcj91/#content-plugins)
   by Joel James for [Duck Dev](https://duckdev.com)

**404 Errors and Redirect – More Details**

If you are confused with these terms 404,301, redirect etc, [refer this page](https://moz.com/learn/seo/redirection/)
to know more about the redirect and SEO.

#### Bug Reports

Bug reports for 404 to 301 are always welcome. [Report here](https://duckdev.com/contact/).

## عکس‌های صفحه

 * [[
 * **Settings** – Settings page of 404 to 301.
 * [[
 * **Error Logs** – Logged 404 Errors.
 * [[
 * **Custom Redirect** – Setting custom redirect for each 404 paths.

## نصب

#### Installing the plugin – Simple

 1. In your WordPress admin panel, go to _Plugins > New Plugin_, search for **404 to
    301** and click “_Install now_“
 2. Alternatively, download the plugin and upload the contents of `404-to-301.zip` 
    to your plugins directory, which usually is `/wp-content/plugins/`.
 3. Activate the plugin
 4. Go to 404 to 301 tab on your admin menus.
 5. Configure the plugin options with available settings.

#### Need more help?

Please take a look at the [plugin documentation](https://duckdev.com/docs/404-to-301/)
or [open a support request](https://wordpress.org/support/plugin/404-to-301/).

#### Missing something?

If you would like to have an additional feature for this plugin, [let me know](https://duckdev.com/contact/)

## سوالات متداول

### 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](https://duckdev.com/docs/404-to-301/)
or [open a support request](https://wordpress.org/support/plugin/404-to-301/).

## نقد و بررسی‌ها

![](https://secure.gravatar.com/avatar/d5525a53056c717d1df947f32510c722aeed53a667d4101b8eb3659c7fdb89d9?
s=60&d=retro&r=g)

### 󠀁[Worked so well](https://wordpress.org/support/topic/worked-so-well/)󠁿

 [tjhitchens](https://profiles.wordpress.org/tjhitchens/) 25 فوریه 2026

I just wanted to share how fantastic this WordPress plugin has been for us.When 
migrating from our old platform, I was quite concerned about managing years of accumulated
incoming links, especially ensuring our new page set covered everything we might
have forgotten. Your plugin made the entire process incredibly simple. It allowed
us to quickly review and fix all the necessary redirects during our release, which
saved us a huge amount of time and effort. It’s truly an essential tool, and we 
really appreciate all the work on it.

![](https://secure.gravatar.com/avatar/2a759a77e123430fc273c91f1c917aed8a06c965e1f67461fbe69e37551ab090?
s=60&d=retro&r=g)

### 󠀁[Great plugin!](https://wordpress.org/support/topic/great-plugin-41230/)󠁿

 [lbazso](https://profiles.wordpress.org/lbazso/) 25 ژانویه 2026

Great plugin and very easy to use. Always comes handy with every site.

![](https://secure.gravatar.com/avatar/894e9bfa4b9bed53d2b96ac387196849b397b77a246b467a7b627ac728a39499?
s=60&d=retro&r=g)

### 󠀁[Very helpful!](https://wordpress.org/support/topic/very-helpful-1564/)󠁿

 [roger7](https://profiles.wordpress.org/rogerp7/) 18 نوامبر 2025

Very helpful tool

![](https://secure.gravatar.com/avatar/4a49fd7f2b57834b4e8614ac05a7cf08a335e2660bfe993964abd03504239130?
s=60&d=retro&r=g)

### 󠀁[Ben fatto](https://wordpress.org/support/topic/ben-fatto-16/)󠁿

 [tanogabo](https://profiles.wordpress.org/tanogabo/) 20 اکتبر 2025

molto utile, grazie

![](https://secure.gravatar.com/avatar/3da6b5f2ff97672987b01236c33ca72cd5d73c8404b7a0e9c5506204f3426159?
s=60&d=retro&r=g)

### 󠀁[Works good](https://wordpress.org/support/topic/works-good-495/)󠁿

 [Photos On The Road](https://profiles.wordpress.org/photos-on-the-road/) 30 آگوست
2025

Completely satisfied

![](https://secure.gravatar.com/avatar/af55cee1c08e600b0f66041c7be2b4621bb67954cf8e9b53b972ecccc9eeb1b7?
s=60&d=retro&r=g)

### 󠀁[Works great](https://wordpress.org/support/topic/works-great-9666/)󠁿

 [ppoints](https://profiles.wordpress.org/ppoints/) 20 آگوست 2025

Works great

 [ خواندن تمامی 308 نقد و بررسی‌ ](https://wordpress.org/support/plugin/404-to-301/reviews/)

## توسعه دهندگان و همکاران

“404 to 301 – Redirect, Log and Notify 404 Errors” نرم افزار متن باز است. افراد 
زیر در این افزونه مشارکت کرده‌اند.

مشارکت کنندگان

 *   [ Joel James ](https://profiles.wordpress.org/joelcj91/)
 *   [ Duck Dev ](https://profiles.wordpress.org/duckdev/)

“404 to 301 – Redirect, Log and Notify 404 Errors” به 16 زبان ترجمه شده است. با 
تشکر از [مترجمین](https://translate.wordpress.org/projects/wp-plugins/404-to-301/contributors)
برای همکاری و کمک‌هایشان.

[ترجمه “404 to 301 – Redirect, Log and Notify 404 Errors” به زبان شما.](https://translate.wordpress.org/projects/wp-plugins/404-to-301)

### علاقه‌ مند به توسعه هستید؟

[Browse the code](https://plugins.trac.wordpress.org/browser/404-to-301/), check
out the [SVN repository](https://plugins.svn.wordpress.org/404-to-301/), or subscribe
to the [development log](https://plugins.trac.wordpress.org/log/404-to-301/) by 
[RSS](https://plugins.trac.wordpress.org/log/404-to-301/?limit=100&mode=stop_on_copy&format=rss).

## گزارش تغییرات

#### 3.1.5 (06/11/2025)

**👌 Improvements**

 * Row action link.

**🐛 Bug Fixes**

 * Unable to delete logs.
 * Deprecated notices.

#### 3.1.4 (22/06/2025)

**👌 Improvements**

 * Sanitize variables.

#### 3.1.3 (17/06/2022)

**👌 Improvements**

 * Security checks and improvements.

#### 3.1.2 (07/06/2022)

**👌 Improvements**

 * Security checks and improvements.

#### 3.1.1 (15/11/2021)

**👌 Improvements**

 * Security checks and improvements.

#### 3.1.0 (18/10/2021)

**👌 Improvements**

 * Tested with WP 5.8.
 * Added sanitization.

#### 3.0.9 (06/10/2021)

**👌 Improvements**

 * Added nonce verification for bulk actions.

#### 3.0.8 (12/06/2021)

**👌 Improvements**

 * Tested with WP 5.7.
 * Add capability checks for ajax actions – Thanks [Jerome](https://secure.nintechnet.com/).
 * Improve query preparations – Thanks [Jerome](https://secure.nintechnet.com/).

#### 3.0.7 (28/01/2021)

**🐛 Bug Fixes**

 * Activation hook was not being executed.
 * Table creation failed in new installations.

#### 3.0.6 (18/12/2020)

**👌 Improvements**

 * Tested with WP 5.6.
 * Small improvements.
 * Temporarily disabled Freemius SDK.

#### 3.0.5 (02/07/2019)

**👌 Improvements**

 * Updated Freemius SDK.
 * Tested with WP 5.2.

#### 3.0.4 (16/03/2019)

**📦 New**

 * Added option to disable URL guessing.
 * Added review notice.

#### 3.0.3 (15/03/2019)

**🐛 Bug Fixes**

 * Opt-in is disabled temporarily to debug the issues.

#### 3.0.2 (26/02/2019)

**🐛 Bug Fixes**

 * Security fix.

**👌 Improvements**

 * Minor performance improvements.

#### 3.0.1 (24/08/2018)

**👌 Improvements**

 * Make release automated.

**🐛 Bug Fixes**

 * Do not include exclude path items.

#### 3.0.0.1 (25/06/2018)

**Bug Fixes**

 * Using template_redirect hook for redirect instead of wp hook.
 * Fixed an issue with do_action in Freemius SDK.

#### 3.0.0 (20/06/2018)

**New Features**

 * Individual optional settings for each error log item (Individual redirec, log,
   email alert can be set).
 * Clear error logs without removing custom redirects.
 * Added error logs grouping with count.
 * [WPML compatible](https://wpml.org/plugin/404-to-301/).
 * Integrated Freemius for addon, support and analytics (optional).

**Improvements**

 * Complete code revamp. More improved structure.
 * Set custom options from previous logs if same item exists.
 * Made 3rd party integration easier.

#### 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](https://www.pluginvulnerabilities.com/).

#### 2.3.1 (27/08/2016)

**Bug Fixes**

 * Fixed Cross Site Scripting vulnerability – Thanks to [Summer of Pwnage](https://www.sumofpwn.nl/)&
   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.

**Improvements**

 * 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](https://duckdev.com/blog/404-to-301-plugin-detected-by-wordfence-here-is-what-actually-happened/).

#### 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.

**Improvements**

 * 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.

**Improvements**

 * 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.

**Improvements**

 * Improved code.

#### 2.1.7 (20/04/2016)

**New Add-on**

 * New [Log Manager](https://duckdev.com/products/404-to-301-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).

**Improvements**

 * Removed inactive filter – i4t3_before_404_redirect

#### 2.1.6 (06/04/2016)

**Improvements**

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

#### 2.1.5 (22/03/2016)

**Improvements**

 * Fixed issues with deprecated functions – Thanks to [Pedro Mendonça](https://github.com/pedro-mendonca).
 * 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).

**Improvements**

 * 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.

**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**.

**Improvements**

 * Minor code improvements.

#### 2.0.6 (13/09/2015)

**Improvements**

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

#### 2.0.5 (03/09/2015)

**Improvements**

 * 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.

**Improvements**

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

#### 1.0.8

 * Very minor bug fix
 * Tested for WP 4.2

#### 1.0.7

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

#### 1.0.6

 * Tested with latest version.
 * Improved structure.

#### 1.0.5

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

#### 1.0.4

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

#### 1.0.3

 * Added official support forum.

#### 1.0.1

 * Added official website details.

#### 1.0.0

 * Added first version with basic options.

## اطلاعات

 *  نگارش **3.1.5**
 *  Last updated **4 ماه پیش**
 *  نصب‌های فعال **100,000+**
 *  نگارش وردپرس ** 3.5 یا بالاتر **
 *  Tested up to **6.9.4**
 *  نگارش PHP ** 5.6 یا بالاتر **
 *  زبان‌ها
 * [Dutch](https://nl.wordpress.org/plugins/404-to-301/)، [Dutch (Belgium)](https://nl-be.wordpress.org/plugins/404-to-301/)،
   [English (Canada)](https://en-ca.wordpress.org/plugins/404-to-301/)، [English (South Africa)](https://en-za.wordpress.org/plugins/404-to-301/)،
   [English (UK)](https://en-gb.wordpress.org/plugins/404-to-301/)، [English (US)](https://wordpress.org/plugins/404-to-301/)،
   [French (France)](https://fr.wordpress.org/plugins/404-to-301/)، [German](https://de.wordpress.org/plugins/404-to-301/)،
   [Italian](https://it.wordpress.org/plugins/404-to-301/)، [Malayalam](https://ml.wordpress.org/plugins/404-to-301/)،
   [Persian](https://fa.wordpress.org/plugins/404-to-301/)، [Portuguese (Portugal)](https://pt.wordpress.org/plugins/404-to-301/)،
   [Russian](https://ru.wordpress.org/plugins/404-to-301/)، [Spanish (Chile)](https://cl.wordpress.org/plugins/404-to-301/)،
   [Spanish (Spain)](https://es.wordpress.org/plugins/404-to-301/)، [Spanish (Venezuela)](https://ve.wordpress.org/plugins/404-to-301/)،
   و [Swedish](https://sv.wordpress.org/plugins/404-to-301/).
 *  [به زبان خودتان ترجمه کنید](https://translate.wordpress.org/projects/wp-plugins/404-to-301)
 * Tags
 * [404](https://fa.wordpress.org/plugins/tags/404/)[404 redirect](https://fa.wordpress.org/plugins/tags/404-redirect/)
   [custom 404 page](https://fa.wordpress.org/plugins/tags/custom-404-page/)[not found](https://fa.wordpress.org/plugins/tags/not-found/)
   [seo redirect](https://fa.wordpress.org/plugins/tags/seo-redirect/)
 *  [نمایش پیشرفته](https://fa.wordpress.org/plugins/404-to-301/advanced/)

## امتیازها

 4.6 از 5 ستاره.

 *  [  امتیاز 272 5-ستاره     ](https://wordpress.org/support/plugin/404-to-301/reviews/?filter=5)
 *  [  امتیاز 9 4-ستاره     ](https://wordpress.org/support/plugin/404-to-301/reviews/?filter=4)
 *  [  امتیاز 3 3-ستاره     ](https://wordpress.org/support/plugin/404-to-301/reviews/?filter=3)
 *  [  امتیاز 3 2-ستاره     ](https://wordpress.org/support/plugin/404-to-301/reviews/?filter=2)
 *  [  امتیاز 21 1-ستاره     ](https://wordpress.org/support/plugin/404-to-301/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/404-to-301/reviews/#new-post)

[مشاهده همه بررسی‌ها](https://wordpress.org/support/plugin/404-to-301/reviews/)

## مشارکت کنندگان

 *   [ Joel James ](https://profiles.wordpress.org/joelcj91/)
 *   [ Duck Dev ](https://profiles.wordpress.org/duckdev/)

## پشتیبانی

مشکلات حل شده در دو ماه گذشته:

     0 از 2

 [مشاهده انجمن پشتیبانی](https://wordpress.org/support/plugin/404-to-301/)

## کمک مالی

آیا تمایل دارید از پیشرفت این افزونه حمایت کنید؟

 [ کمک مالی به این افزونه ](https://www.paypal.me/JoelCJ)