There are several methods to address this issue. You can either redirect the error page to another product page. If you have several missing pages or link, the easy way is to redirect your wrong page traffic to home page. It is easy to redirect 404 error page to home page. Go to your wordpress dashboard > Appearance > Editor and and select your theme.

Find 404.php file. Select the file to edit. If you don’t have 404.php file, please create one and paste the following code into it.     header(“HTTP/1.1 301 Moved Permanently”); header(“Location: “.get_bloginfo(‘url’)); exit(); ?> That is all, this will redirect all 404 and 301 error to your home page. This is better than ending up with 404 error page or unknown error. Notify me of follow-up comments by email. Notify me of new posts by email.

Δ

Redirect 404 error to Homepage in Wordpress  Solved  - 23Redirect 404 error to Homepage in Wordpress  Solved  - 46Redirect 404 error to Homepage in Wordpress  Solved  - 51Redirect 404 error to Homepage in Wordpress  Solved  - 10Redirect 404 error to Homepage in Wordpress  Solved  - 96Redirect 404 error to Homepage in Wordpress  Solved  - 17