Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
  • #244239

    Hi, I have discovered a referral crawler adding bogus stats to my site.
    I have found this page that suggests how to block them but I wanted to check with you before making code changes (I am not good at coding)

    On this link it says the following:
    To block from visiting your site and making havoc with your statistics add this to the end of your .htaccess file….

    SetEnvIfNoCase Via evil-spam-proxy spammer=yes
    SetEnvIfNoCase Referer spammer=yes
    SetEnvIfNoCase Referer evil-spam-keyword spammer=yes
    SetEnvIfNoCase Via pinappleproxy spammer=yes
    SetEnvIfNoCase Referer spammer=yes
    SetEnvIfNoCase Referer poker spammer=yes

    Order allow,deny
    Allow from all
    Deny from env=spammer

    Are you able to confirm if this will help and if it will have any negative affect on my site?
    And also – exactly where and how do I implement this code on my site to block



    Hey Andrew!

    Thank you for using the theme!

    After reviewing the information provided above, I would try checking with your hosting provider on this particular issue because honestly this is the first time that I’ve heard of this. Additionally, your host will be able to diagnose things much better due to the fact that they have a more complete view of your account and can work behind the scenes with you. Reading more forum topics about the issue will probably provide you with more information than the ones we can provide here.

    I’ll ask the rest of the support team to share their ideas, they might have encountered the same problem in the past. Any relevant information that you can share with us regarding the topic is greatly appreciated.



    My web host said to install a captcha plugin and see if that stops unsolicited bots crawling on my site. I have done that and will see how it goes. Does the bit of code above that was suggested to be added to my .htaccess file make any sense to you? It’s all ones and zero’s to me….



    The htaccess additions are to specifically attempt to block that crawler.



    Hi Devin, not wanting to ruin my site by tampering with codes I don’t fully understand – can you tell me exactly where to past that bit of code?


    Definitely not unfortunately. It isn’t code provided by us and we can not offer support on implementing it since we didn’t write or test it.

    You can ask on that WordPress support topic or talk to your hosting provider about how to modify the htaccess file on your site.

Viewing 6 posts - 1 through 6 (of 6 total)

You must be logged in to reply to this topic.