I understand that Drupal doesn't have a core module to handle redirects and that's normally done by the Redirect module, or from the webserver.
But if I want to redirect any 404 to the homepage, due to say, a very content-varied site in which it's unlikely to find articles on the same topic, can this be done with Drupal core without editing webserver file?