How to redirect 404 page on wordpress

How to redirect 404 page on wordpress, it’s very easy !Just paste this code in your functions.php in theme folder.

Or download plugin and just activate:

By using this smart plugin, you can fix all 404 error links by redirecting them to homepage using the SEO 301 redirection.

Installation

  • Download “wpvote-404.zip” to your computer.
  • Login as administrator
  •  Click on Plugins –> Add New
  • On “Install Plugins” page, clik on “Upload”
  •  Browse and select “wpvote-404.zip” and click on “Install Now”
  • You can activate it now
  •  Finally, it works.