Hooked On Golf Blog

Site hacked. Malicious code destroys rankings.

Written by: Tony Korologos | Date: Friday, December 1st, 2006
Categories: Site News

Spread the word!Share on Facebook0Share on Google+0Tweet about this on TwitterShare on LinkedIn0Email this to someonePin on Pinterest0Share on Reddit0Share on Tumblr0Print this page

I’ve been busting my ass on this blog for almost two years now. I’ve put hundreds and hundreds of hours into the design and content of this golf blog. HOG has been growing fast over the last 1.5 years, and has moved up to the very top of Google’s search engine results for many keywords or phrases (golf blog, Taylormade TP, Natalie Gulbis, Tiger Woods, Nike Sumo etc). I’ve had to upgrade hosting due to the massive bandwidth of all the traffic and images HOG has. Hooked On Golf Blog has been in the top 2-3 golf blogs for a long time and has had #1 placement at the top of Google’s results for many golf related subjects… until this week.

I noticed a couple of weeks back my poll text was messed up. I assumed (never a good idea) that a file on my server had gotten corrupted and spent a tiny amount of time trying to figure it out. I then started noticing that my traffic over the last weeks had been dropping considerably. In fact, my Google related referrals and traffic dropped 94%. Searches which used to give me tons of traffic disappeared completely and HOG now can’t even be found in the top several pages of Google’s search results.

What happened?

I was starting to sweat bullets today when I saw that my traffic had dwindled down to a mere 10% of what it was two weeks ago. Sometimes Google re-indexes it’s search results so I hoped that was the case and that HOG would jump back up. No such luck.

I brought these happenings to the attention of HOG’s best pal EatGolf. Eat poked around the web to see if this had been happening to anyone else but to no avail. He then took a look into HOG’s code and found about 10 lines of code that didn’t look right. He sent the code to me and I didn’t recognize it at all. It was a javascript code of some sort which ran in the background of the site and sent engines away from HOG and to a freaking spam site which was selling erectile dysfunction drugs.

My guess is that once Google indexed HOG with this malicious code leading to a spam site, it had no choice but to remove HOG’s search results. Obviously Google can’t be a reputable search engine if the results are spam. As far as I can tell this malicious code has been resident here for 2-3 weeks. You can look at a graph of HOG’s traffic and it’s been steadily dropping for that period of time, after a huge peak around November 2nd.

I’ve now removed the code and implemented a few security measures to hopefully prevent these jerks from doing it again. I hope that the damage done is reversed quickly as the bots re-index the site in the next little while. I don’t know if the damage for those keywords and search results is permanent. I don’t know how long it will take for the traffic and site’s rankings to return to where it was before.

Thanks to Eat

Many, many thanks to my pal Eat for finding this code. Eat may be responsible for preventing the complete destruction of this site’s web rankings… I hope.

Check your code now

For those of you who have golf blogs or sites of your own, I recommend you take a look RIGHT NOW at your code. I had no idea this code was there and it was like a fast growing cancer.


Here is a pic attached of the code:

  • Login | Register
  • HOG InterviewGary Player

    Golf Legend Gary Player

  • Social Networks

    HOG Twitter

    Tony Korologos Twitter

    Google Plus


  • Archives

  • Latest Golf Reviews