How to redirect all 404 Errors to the Home Page in WordPress
WordPress will typically redirect broken links and missing pages/posts to a 404 error page, sometimes it’s better to redirect them to your Wordpress home page instead. In this tutorial we will teach you how to use PHP to redirect all 404 errors to the home page in WordPress.