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.

Δ

Redirect 404 error to Homepage in Wordpress  Solved  - 65Redirect 404 error to Homepage in Wordpress  Solved  - 57Redirect 404 error to Homepage in Wordpress  Solved  - 60Redirect 404 error to Homepage in Wordpress  Solved  - 88Redirect 404 error to Homepage in Wordpress  Solved  - 82Redirect 404 error to Homepage in Wordpress  Solved  - 61