Creating a customized 404 error page allows reorienting users who have arrived to non-existing web pages, and may wish to continue navigating through your website. This type of 404 page is well valued by Google. Add this rule to your .htaccess file to redirect users to your customized 404 error page:
ErrorDocument 404 /error.html