All 404 Redirect to Homepage


I have a website, every time I login to Google webmaster tools, I found many new discovered 404 error links, the problem is not in 404 errors itself, but when Google see them and count them for you!, I think that this count used in the overall site evaluation and ranking, I decided to develop All 404 Redirect to Homepage WordPress Plugin to solve these errors in SEO way by redirecting them using SEO 301 redirection.

How to use the plugin?

The 404 error pages hurts the rank of your site, this smart plugin is a simple solution to handle 404 error pages by using 301 redirect.
Look at the following diagram which represent the 404 errors per time, we see an increase of error rate in the last time interval.

Our simple plugin will solve this by trying to redirect all 404 error pages to home page or any customized page, see the control panel for the plugin in the next image

After installing the plugin, make sure that it is enabled from the field status in the control panel above, if you want to disable the plugin functions, just set the status to disabled.


  • Redirection page.
  • 404 Error rate per time.


Extract the zip file and just drop the contents in the wp-content/plugins/ directory of your WordPress installation and then activate the Plugin from Plugins page.

view this posts if you want more details about installing plugins:


شتنبر 25, 2019
Does just what it shall do.
غشت 17, 2019
After an upgrade a fake message appears: "Oops! Plugin detected some broken links!" while in fact NO CHECKS ARE PERFORMED, but incompetent users would go for the paid option.
مارس 12, 2019
One of the easy to do things to have a good SEO is to prevent any 404 error in your page. Surely you can try to improve the 404 error or move it to another page depends on the query the users used; but if you want something easy, you have to use this plugin. All 404 errors will become 301 to homepage, so 404 errors will disappear and in most of cases, it will be the best option you can take
Read all 74 reviews

Contributors & Developers

“All 404 Redirect to Homepage” is open source software. The following people have contributed to this plugin.




  • Bug fixing in functions.php “Notice Undefined variable: class_name ..”


  • display the latest URLs redirected since the plugin installed


  • fix upgrade message issue in the plugins page


  • PHP 7.2 compatibility


  • add the ability to hide message


  • PHP 7.x compatibility – Fix deprecated class issue


  • bug in calculating the broken links count (this was affecting the error message)


  • PHP 7.x compatibility


  • Fix deprecated class issue


  • Fix soft 404 url’s


  • Fix for issue that may cause infinite redirect loop


  • Support Handling all 404 error pages when using default permalink structure.