Wordpress plugins
Redirect 404 To Homepage

Redirect 404 To Homepage

Version : 1.1.0
Tested up to : 5.0
Number of download : 28692
Author : LittleBizzy
Average rating : 5 / 5 on 42 votes 42 votes, 5 avg.rating

Screenshots

Redirect 404 To Homepage
Redirect 404 To Homepage
Redirect 404 To Homepage
Redirect 404 To Homepage

Redirects all 404 (Not Found) errors to the homepage for a better user experience, less abuse from bots, and 100% elimination of Google GSC warnings. Join our FREE Facebook group for support Worth a 5-star review? Thank you! Plugin Homepage Plugin GitHub Current Features 404 To Homepage is a simple WordPress plugin for redirecting all 404 “Not Found” errors to the homepage. The reason for doing this is to avoid user confusion (or lost leads), and to avoid abuse causes by bots that ping your site with non-existent URLs which can negatively effect search engine indexing. Additionally, it can totally eliminate the warnings created in Google GSC (Webmasters) in regard to 404 errors that begin piling up over time, which quite often are not even the fault of your website. It should be noted, however, that this method is not recommended for all websites. For example, large blogs or magazines that rely heavily on search engine traffic (such as a newspaper) should probably not use this plugin. This is because in many cases, 404 errors should be analyzed on a regular basis and then 301 redirected to the appropriate page. Rather, this plugin is best suited for small businesses or websites with a limited amount of content, and limited staff, who are not publishing massive amounts of content. In such cases, we suggest monitoring 404 errors for perhaps a few months, redirecting the ones that are legitimate, and then consider activating this plugin after that point. Unlike other 404 redirect plugins, 404 To Homepage “removes” any pre-existing HTTP headers, and executes ONLY a 301 redirect header pointed at the site’s homepage. In other words, it does not allow any “previous” headers to be sent in order to avoid confusing browsers or Google bots. (NOTE: while any previous headers sent by WordPress/PHP engine are ignored, it’s possible for your server i.e. Apache or Nginx to override things with header rules of their own… please check to ensure no conflicts.) This is a version that uses the early WP hook ‘pre_handle_404’ to avoid unnecessary code execution (posts types creation and taxonomies). But this hook is available only from WP 4.5.0, so the plugin declares also the ‘wp’ standard hook just in case for older versions. Before to do the redirection to the homepage, there is a procedure that removes any existing previous header, so only 301 header will be sent in response to the HTTP request. You can see the headers in chrome from Network tab and checking preserve log. For Firefox you can use the Live HTTP headers addon, for example. Compatibility This plugin has been designed for use on SlickStack web servers with PHP 7.2 and MySQL 5.7 to achieve best performance. All of our plugins are meant for single site WordPress installations only; for both performance and usability reasons, we highly recommend avoiding WordPress Multisite for the vast majority of projects. Any of our WordPress plugins may also be loaded as “Must-Use” plugins by using our free Autoloader script in the mu-plugins directory. Defined Constants /* Plugin Meta */ define('DISABLE_NAG_NOTICES', true); Technical Details Prefix: NTFTHP Parent Plugin: SEO Genius Disable Nag Notices: Yes Settings Page: No PHP Namespaces: No Object-Oriented Code: No Includes Media (images, icons, etc): No Includes CSS: No Database Storage: Yes Transients: No WP Options Table: Yes Other Tables: No Creates New Tables: No Creates New WP Cron Jobs: No Database Queries: Backend Only (Options API) Must-Use Support: Yes Multisite Support: No Uninstalls Data: Yes Special Thanks Alex Georgiou, Automattic, Brad Touesnard, Daniel Auener, Delicious Brains, Greg Rickaby, Matt Mullenweg, Mika Epstein, Mike Garrett, Samuel Wood, Scott Reilly, Jan Dembowski, Jeff Starr, Jeff Chandler, Jeff Matson, Jeremy Wagner, John James Jacoby, Leland Fiegel, Luke Cavanagh, Mike Jolley, Pau Iglesias, Paul Irish, Rahul Bansal, Roots, rtCamp, Ryan Hellyer, WP Chat, WP Tavern Disclaimer We released this plugin in response to our managed hosting clients asking for better access to their server, and our primary goal will remain supporting that purpose. Although we are 100% open to fielding requests from the WordPress community, we kindly ask that you keep these conditions in mind, and refrain from slandering, threatening, or harassing our team members in order to get a feature added, or to otherwise get “free” support. The only place you should be contacting us is in our free Facebook group which has been setup for this purpose, or via GitHub if you are an experienced developer. Thank you! Our Philosophy “Decisions, not options.” — WordPress.org “Everything should be made as simple as possible, but not simpler.” — Albert Einstein, et al “Write programs that do one thing and do it well… write programs to work together.” — Doug McIlroy “The innovation that this industry talks about so much is bullshit. Anybody can innovate… 99% of it is ‘Get the work done.’ The real work is in the details.” — Linus Torvalds Search Keywords 404, 404 error, 404 errors, 404 errors redirect, 404 redirection, 404 to home, 404 to homepage, all 404 redirect to homepage, not found, not found errors, not found error management, not found error redirect, redirect 404, redirect 404 error, redirect 404 error page to homepage, redirect 404 errors, redirect 404s, redirect 404s to homepage

Download now