Forum Moderators: phranque
This really is a new trend I believe that will emerge in the next few years as blackhatters and SEO's become one and the same (as if they already weren't) and hack sites for the purpose of generating backlinks to their own sites.
Unfortunately I don't believe I caught this in time as the site in question was removed from google's index for the terms it was ranking for.
Since I've switched hosting companies just for a bit of reassurance applied a strong password. I've also taken down any remnants of the "_backup" directory they created and additionally removed the block of code they injected on each of my pages. Lastly I also applied a line to my robots.txt file to prevent all spidering of the directory "_backup".
There are several hundred pages that were picked up by google and indexed as internal pages on my site that show up when I do site:www.mydomain.com
Do you think it is sufficient that I removed the directory and also prevent spidering of the "_backup" directory or should I use google's webmaster tool to start removing each of the pages that shouldn't be there one by one from the index?
Best regards,
Reaxion
Another point might be to find out how you were hacked... if it was through your CMS then moving to a different host might not help. If you're using any sort of CMS or blog software search for "locking down (your cms)" and "securing (your cms)", you may find some good tips to increase security by doing this.
or should I use google's webmaster tool to start removing each of the pages that shouldn't be there one by one from the index?
Not a bad idea and it certainly wouldn't hurt. You have the option in webmaster tools to remove the content of a complete sub directory from the index so it shouldn't be too much work.
Basic advice was to be sure that everything was cleaned up and submit a reinclusion request through webmaster tools.
Step #2 - locate and plug the vulnerability.
Step #3 - clean up the pages and bring the site back online. Wait a couple of weeks to see if the rankings return to normal.
Step #4 - if the rankings don't return after a few weeks, contact the search company and explain in detail, in writing, and dont harrass them any further.
You aren't owed a position in the rankings and your site is apparently risky to rank well from the search engines point of view. Though it does suck, you need to clean up the mess and move on. I'd suggest going after the individuals but how many hackers do you see getting prosecuted these days anyway?