If you are worried about the consequences of having your site hacked here are some useful info that should put your mind at ease, knowing that you know what to do in case it happens.
- Google will delete you from their index but they will restore your URL in their index as soon as they confirm that your site is clean.
- Google will contact you to inform that your site has been removed from the index and will also give you the reason for removal (i.e. the fact that you’ve been hacked and they don’t want your site to appear in Google’s SERPs till it’s cleaned up).
- They’ll be nice about it. There’s no doubt about it Matt Cutts is really nice even to poor stressed out webmasters/website owners with hacked sites.
If being removed from the list worries you too much remember to focus on the positive part. Since Google will be contacting you, you can do something about it IMMEDIATELY. Note too that removal from the index is just a temporary thing so don’t sweat it. As Matt Cutts pointed out in his reply to Ryan Stewart, at least your prospective customers (users who click on the link from SERPs) won’t be turned off when they appear on a hacked page. Temporary removal would result in immediate loss/decrease of traffic but being retained in SERPs may result in long term loss of customers since word of your “insecure or low quality site” might get out. Remember SEO is not just about ranking well in SERPs but is also about reputation building so look at the bright side, stop worrying, and work on your site’s security. If you’ve been hacked then clean up your site at once…even before Google detects the problem and you receive notification that your site has been removed from the index.
According to Google Webmaster Central if your site has been hacked you should immediately:
- get your site offline
- assess the damage
- re-install the OS and make sure you install all the latest patches for software you news
- restore your site
- change ALL your passwords
- get the site back online