Like us on Facebook

  Like

About the author

Ashish Prajapati

Hi there, My name is Ashish Prajapati. I'm currently doing my computer science degree. I love computers and programming a lot as I started this blog (Geekybits) just to learn and experience about wordpress sites.I spend my whole day sitting in front of my laptop what I just love. You can check out my professional skills and more about me on LinkedIn. And yeah thanks for visiting this blog.

Related Articles

4 Comments

  1. 1

    urashita

    Hi,
    I tried this code, but does not seem to work.

    var blocklink = [‘http://*darodar.com’, ‘http://econom.co’,’http://*ilovevitaly.com’, ‘http://*ilovevitaly.co’ ];
    for (var b = blocklink.length; b–;) {
    if (document.referrer.match(blocklink[b]))
    window.location = “http://google.com/”;
    }

    I do not want to write specific url but *, because spammer will try to make a lot of subdomain.

    Do you have any ideas?

    Reply
    1. 1.1

      Ashish Prajapati

      I’m also confused. We don’t know how these spammers are showing the traftic in analytics. The code works when they visit the site. If not then .htaccess should work. But that also not working. Now the only thing we can do is to filter them out from analytics.
      I’m trying to look how they are spamming , only that way we can do something.
      Thanks
      Ashish

      Reply
      1. 1.1.1

        urashita

        I am using nginx and found that normal referer block such as this does not work.
        if ($http_referer ~* (darodar.com|econom.co)) {
        return 403;
        }
        I am also researching how I can block them technically not ignoring them.

        Reply
  2. 2

    Giorgio

    Why does it happen? Why these spam visitors? I can’t understand the reason…what do they earn from “visiting” websites? I created my website and after a While I started to receive “Visits from Darodar, Iloveitaly and now blackthatworth!!! I can’t understand their reason…I put the filter on Analytics…

    Reply

Leave a Reply

Your email address will not be published. Required fields are marked *

Copyright © 2014 Geekybits. All rights reserved.

Follow us

Facebook   Twitter   Google+