Results 1 to 7 of 7

Hybrid View

  1. #1
    Join Date
    Aug 2009
    Location
    North Idaho, USA
    Posts
    2,008
    Plugin Contributions
    1

    Default Re: blocking spiders

    See post #13 by DrByte
    in this thread http://www.zen-cart.com/showthread.p...283#post817283

    We've used it to block quite a few spiders that we dont want to see. Some have gotten really aggressive and don't obey the rules.

    We also tried the IP block within Cpanel but all that does is give a 302 redirect.
    Rick
    RixStix (dot) com
    aka: ChainWeavers (dot) com

  2. #2
    Join Date
    Jun 2009
    Location
    Des Moines, Iowa USA
    Posts
    609
    Plugin Contributions
    0

    Default Re: blocking spiders

    I am assuming this is what you are referring: Is it best to use this as is or should I modify it for the host:yandex.ru ???? and can someone specify the code modification?

    Also how has this worked for you? I understand this may effect the rankings?



    Create a new file: /includes/extra_configures/block_yandex_spider.php ... containing ONLY the following code:
    Code:

    <?php
    if (stristr(strtolower($_SERVER['HTTP_USER_AGENT']), 'yandex')) {
    @header("HTTP/1.1 410 Gone");
    exit();
    }
    Last edited by stitchnkitty; 25 Aug 2012 at 03:15 PM. Reason: adding to

  3. #3
    Join Date
    Aug 2009
    Location
    North Idaho, USA
    Posts
    2,008
    Plugin Contributions
    1

    Default Re: blocking spiders

    No modifications are needed.

    You asked about blocking the yandex spider. DrByte's code and instructions are specifically for blocking the Yandex spider. We have created additional files where we replaced the text yandex with the names of other unwanted spiders who show signs of not behaving well.

    We haven't noticed any change in ranking.
    Rick
    RixStix (dot) com
    aka: ChainWeavers (dot) com

 

 

Similar Threads

  1. Yandex spiders problem
    By NeckDeep in forum General Questions
    Replies: 7
    Last Post: 2 May 2010, 08:03 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg