I'm having a problem with 404 links. Please help me because there are a lot of 404 links being recorded by Google Console. I want to redirect all of them to the homepage, what should I do?
Their format is https://domain.com/abc/link-error-again-1702039 and many more links