Hi everyone,
I found that I had a pharma hack on my website and cleaned the malware using Sucuri. I no longer have the pharma hack spam showing in my google search results, *but* I’m getting 404 errors in the google search console. It’s strange because if I enter a url or click a link on the site (for example, “matthewquirk.com/book”), my browser takes me to that page with no sign anything is wrong. However, when I search for the same link in google search console, it returns a 404 error. It shows 404 errors for every page on my site, including the main url matthewquirk.com. And when I search for a page like “matthewquirk.com/book” in Google, it shows up in the search as “Not Found” and instead of showing the correct url for that page as being not found, it lists a strange url called “/enterprising-frankie.php” and says it was not found on the server. It also says “A 404 not found error was encountered while trying to use an ErrorDocument to handle the request.”
I tried flushing my permalinks, changing them to a different type and back, to fix it. Sucuri says my site is clean, but the site is not visible to Google search, which is a real problem. Is the malware still doing something evil with php? Should I submit a new sitemap to Google? How can I fix it? Any help would be tremendously appreciated. Thank you!
Matt