WordPress.org

Ready to get started?Download WordPress

Forums

Google Adsense Hack on Blog (1 post)

  1. qlooney
    Member
    Posted 1 year ago #

    Hello,
    I think my blog, http://www.animindo.net 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>
    <script type="text/javascript"
    src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
    </script>

    I honestly don't know how it got there. I found similar topic few years back http://wordpress.org/support/topic/google-adsense-hack-on-my-blog?replies=14 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?

    Thanks.

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

Topic Closed

This topic has been closed to new replies.

About this Topic