I got hacked and have rebuilt the site. But there are still hundreds of spam links using my domain that even though the pages don’t exist still show up in google and direct to my index page. What I need to do is to make it so that any visitors or googlebots who follow those links are shown a 404 error page instead of my index page. How can I do that please? Any and all help would be much appreciated. Thanks.