1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

Stoping Referrer Spam

Discussion in 'Traffic Analysis' started by kusadasi-guy, Mar 24, 2005.

  1. kusadasi-guy

    kusadasi-guy Peon

    Messages:
    83
    Likes Received:
    4
    Best Answers:
    0
    Trophy Points:
    0
    #21
    works perfect for all kind of websites that experiencing referrer spam.
     
    kusadasi-guy, Mar 25, 2005 IP
  2. danpadams

    danpadams Peon

    Messages:
    101
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #22
    Is this plugin available for others of us, or can someone sum up the .htaccess code that is thought of to be the best?
     
    danpadams, Apr 1, 2005 IP
  3. Smyrl

    Smyrl Tomato Republic Staff

    Messages:
    13,740
    Likes Received:
    1,702
    Best Answers:
    78
    Trophy Points:
    510
    #23
    I have different code running on different sites. Am looking to start over this month and monitor stats on daily basis and see which methods work best for me. I just did not feel like I have time to monitor the referrer stats daily. As someone said, no matter what approach we use think we are going to have to use some individual blocking for sites that do not fit patterns.

    Shannon
     
    Smyrl, Apr 1, 2005 IP
  4. kusadasi-guy

    kusadasi-guy Peon

    Messages:
    83
    Likes Received:
    4
    Best Answers:
    0
    Trophy Points:
    0
    #24
    i stopped %58 of my spammers with that htaccess file. instead of running lots of query in my MYSQL server (i have DB driven website), i am now showing basic html file (403 forbidden file).

    here is a result from my log file;
    09.03.2005;
    total visits: 1044
    blocked visits (403 forbidden): 223

    i notice that there are still 130-160 or so visits that trying referrer spam.
    So, my success is 223/160+223 = %58
     
    kusadasi-guy, Apr 1, 2005 IP
  5. danpadams

    danpadams Peon

    Messages:
    101
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #25
    Can you refresh my memory, what does the NC stand for as in the [NC,OR] part?
     
    danpadams, Apr 1, 2005 IP
  6. kusadasi-guy

    kusadasi-guy Peon

    Messages:
    83
    Likes Received:
    4
    Best Answers:
    0
    Trophy Points:
    0
    #26
    NC makes it not case sensitive
     
    kusadasi-guy, Apr 1, 2005 IP
  7. danpadams

    danpadams Peon

    Messages:
    101
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #27
    I tried to implement it and the exact code I used is
    
    RewriteEngine On
    Options +FollowSymlinks
    RewriteBase /
    #
    RewriteCond %{HTTP_REFERER} poker [NC,OR]
    RewriteCond %{HTTP_REFERER} viagra [NC,OR]
    RewriteCond %{HTTP_REFERER} porn [NC,OR]
    RewriteCond %{HTTP_REFERER} casino [NC,OR]
    RewriteCond %{HTTP_REFERER} gambling [NC,OR]
    RewriteCond %{HTTP_REFERER} phentermine [NC,OR]
    RewriteRule ^(.*)$ http://spam.infochi.net/referrer.html [L]
    
    Code (markup):
    When I tried it in a broswer request with an empty or blank referrer, it sent me to the referrer.html page that I put in there. Can anyone help me understand why?
     
    danpadams, Apr 1, 2005 IP
  8. TwisterMc

    TwisterMc Mac Guru

    Messages:
    972
    Likes Received:
    13
    Best Answers:
    0
    Trophy Points:
    0
    #28
    The plugin i tried earlier, didn't work worth crap. I don't know what I did wrong. I installed referrer karma for wordpress and that works, just not as good as hoped. I have something screwed up with that too. I'll look into that htaccess idea next. It sounds good to me.

    I just don't see how referrer spam can help the referring site? So what's the point?
     
    TwisterMc, Apr 4, 2005 IP