I have a site with a few hundred 404s. I am sure there are no relevant pages to redirect users to so I want to redirect users to homepage.
Will redirecting to homepage be a good strategy compared to displaying a 404 error?
Webmasters Stack Exchange is a question and answer site for webmasters. It only takes a minute to sign up.Sign up to join this community
Will redirecting to homepage be a good strategy than displaying a 404?
Probably not. Mass redirections to the homepage are likely to be seen as a soft-404s by the search engines (ie. Google) anyway. And it's confusing for users - they are not seeing the information they expected to see and no indication that something is wrong.
You are better off serving a custom 404 with a meaningful message to your users.