1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Someone Attacking My Site With ShareYT Visitors. How Do I Prevent It?

Discussion in 'BlackHat Lounge' started by howard_hughes, Aug 24, 2012.

  1. howard_hughes

    howard_hughes Elite Member

    Joined:
    Jul 23, 2009
    Messages:
    5,048
    Likes Received:
    3,683
    Occupation:
    Just Another Digital Marketer!
    Location:
    "Insta Rank"
    Home Page:
    I went into my google analytics today and saw an Unusual number of visitors on my Adsense Site.

    Then I researched into Traffic Sources and saw it coming from something like - domain.com/f.php

    Which had a ShareYT code on it. Looks like someone wants to get me banned from Adsense, How do I Prevent it?
     
    • Thanks Thanks x 1
  2. xTiger

    xTiger Junior Member

    Joined:
    Jul 9, 2012
    Messages:
    176
    Likes Received:
    129
    Location:
    Getting Richer
    Here's all you need to add to your .htaccess file:

    RewriteEngine on
    RewriteCond %{HTTP_REFERER} badsite.com [NC,OR]
    RewriteCond %{HTTP_REFERER} badsite.com
    RewriteRule .* - [F]

    Do it ASAP!!
     
    • Thanks Thanks x 2