Support » Fixing WordPress » Google Adsense Hack on Blog

  • Hello,
    I think my blog, was being hacked and got google adsense embedded in my theme’s code. I found this code embedded to my single.php

    <script type="text/javascript"><!--
    google_ad_client = "ca-pub-9931030003501453";
    /* bileeeeeel */
    google_ad_slot = "5096719601";
    google_ad_width = 728;
    google_ad_height = 90;
    <script type="text/javascript"

    I honestly don’t know how it got there. I found similar topic few years back but the solution I saw was to play hide and seek with the code and then erased it manually. Is there any way to prevent this? Or is it a problem with my host?


    PS: if it’s any help, I’m using 1140 Starker framework as the base of my theme.

  • The topic ‘Google Adsense Hack on Blog’ is closed to new replies.