With this simple plugin you can assign custom pages (with custom content etc.) as error pages. This works for 404 (page not found) and 403 (forbidden/permission denied).
Redirect the 404 error page to the homepage or any other page with logs. Supports permanent (301), temporary (302) redirects & not found (404). Super easy to set up & use.