With the assistance of this plugin, you can correct all wayward 404 links that exist on your site and use 301 Search engine optimization reroutes to reroute them to the homepage or any various other page. The straightforward handling of 404 error web pages is made possible by this brilliant https://software-tool.com/all-404-redirect-to-homepage-wordpress-plugin/