I was notified by dreamhost that my site might have been hacked, as there were files with malicious back-doors in them. I immediately removed each of these files, changed my FTP password for the account and I’ve also gone through the CMOD values on my folders…
Now suddenly my domain has been deemed unsafe by google (which happened after I did all those security measures…)
I looked through their report, and it honestly made no sense - the files they claimed weren’t returned and rather redirected them to harmful sites - not only were they handwritten by me years ago, contained no malicious code whatsoever (I accessed them through FTP and checked their source-code - it was still the same as years back when I wrote them)
Now, I do have a personally written .htaccess file, but all it does is redirect any 404-errors to a personally written 404-page - which is also completely without malicious scripts, but is it possible this is what google is complaining about? My .htaccess-file?
This is basically all it says (I’ve had this for years):
ErrorDocument 404 http://shades-of-moonlight.com/404.html
Now, Firefox won’t access my site while google blocks it, but I managed to get Internet Explorer to do so, so I could check the 404-redirection which is still going to the same page it always has, and the page is still exactly the same it was years back…
And if that turns out to be the problem, does anyone have any suggestions to how I can rewrite the .htaccess-file so that I can keep the 404-redirection, but at the same time have my site deemed safe?