Site Got Hacked? Google Offers Advice on Next Steps

Jan 28, 2008 - 8:02 am 0 by

Sadly, it is not uncommon to hear of a site that has recently been hacked. Google frequently has to deal with sites that get hacked and code gets injected into the site. If that happens, Google sometimes has to delist the site from showing in their index, because it harms the quality of their search results.

This has happened with Jennifer Convertibles, where I documented each step on the process and what exactly happened. It was a great learning experience and I was happy to share it with everyone. But it has also happened to our friends, including Search Engine Journal, DigitalPoint Forums, Google, ShoeMoney, WebWorkShop and even Al Gore. Sometimes we even think that some hacks are fake are are keen link building hack ideas, but in that case, it was not.

So what does Google recommend? Googler, Berghausen, gave one user this advice:

  • You're running Apache. Check all your .htaccess files for code that doesn't belong there. Get rid of it.
  • Look for scripts [usually php] that you did not write. Get rid of those, if you can. Sometimes permissions get hacked in unfriendly ways, so you may need to contact your host for help. Make sure to look for hidden files and files whose names start with ., too.
  • Call your webhost and have them check the directories above your site for sketchy files if you are on virtual hosting.
  • If you are running a CMS, image gallery, forum, or any other open source CGI application on your site, make sure it's up to date. Hackers often take advantage of known security holes in open source software by attacking sites that have not kept their CMS up to date.
  • You're also running cpanel. Have your host make sure it too is up- to-date. cPanel hacks can be nigh impossible to clean up with normal login permissions, so you will almost assuredly need your host's help to get rid of the injected scripts if this is the case.

I also have a post on How to restore your Google rankings after a hack.

Forum discussion at Google Groups.

 

Popular Categories

The Pulse of the search community

Follow

Search Video Recaps

 
Google Core Update Rumbling, Manual Actions FAQs, Core Web Vitals Updates, AI, Bing, Ads & More - YouTube
Video Details More Videos Subscribe to Videos

Most Recent Articles

Google Updates

Google Will Collect Feedback After The March Core & Spam Updates Are Done

Mar 19, 2024 - 7:51 am
Google Search Engine Optimization

Google: Publishing Content In Bulk Is Not Spam

Mar 19, 2024 - 7:41 am
Bing Ads

Now Important Google Ads PMax To Microsoft Advertising PMax - Fully

Mar 19, 2024 - 7:31 am
Google Search Engine Optimization

Google: Canonicalizing From WWW to Non-WWW Won't Impact Your Search Rankings

Mar 19, 2024 - 7:21 am
Google News

Google Changes: Liz Reid New Head Of Search, Pandu Nayak Steps Down As Search Quality & Rankings Lead

Mar 19, 2024 - 7:11 am
Search Forum Recap

Daily Search Forum Recap: March 18, 2024

Mar 18, 2024 - 4:00 pm
Previous Story: Google Fixes Referrals Commission Issue