Hide content and remove from robots.txt????

Discussion in 'robots.txt' started by ian_ok, May 30, 2006.

  1. #1
    I'm sure some bot's are looking in my robots and then searching all those folders for email / mail based pages.

    If I remove this from the robots.txt how do i then prevent other 'REAL' SE bots from indexing these pages, by simply adding index no follow to the meta tag or other???

    Thanks Ian
     
    ian_ok, May 30, 2006 IP
  2. thes

    thes Peon

    Messages:
    38
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #2
    interesting what you are saying :)
    I think <meta name="robots" content="noindex,nofollow"> should work
     
    thes, Jun 2, 2006 IP
  3. mykoleary

    mykoleary Peon

    Messages:
    64
    Likes Received:
    4
    Best Answers:
    0
    Trophy Points:
    0
    #3
    don't put full paths and the robots that are nefarious have no way to find the files you're hiding.

    If you have a folder named scripts that you want to hide for example and you have no other folders named scri*, then use the following:

    Disallow: /scri

    As the robot exclusion does not need a full path, it'll match substrings like this. Although, if you have links to these folders, they may find them on indexable pages anyway, but at least then they have to hit the whole site to do so.

    I've seen some people set up robot honeypots at /honeypot and then put the following line in their robots.txt:

    Disallow: /honey

    Good ones get by, bad robots get trapped beofre they get much further
     
    mykoleary, Jun 3, 2006 IP
  4. ian_ok

    ian_ok Peon

    Messages:
    551
    Likes Received:
    11
    Best Answers:
    0
    Trophy Points:
    0
    #4
    Thanks. I've tried something a little different and it works a treat.

    Ian
     
    ian_ok, Jun 7, 2006 IP
  5. kirpy

    kirpy Member

    Messages:
    61
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    48
    #5
    What was that "different thing" you tried? i wish you shared it :eek:
     
    kirpy, Jul 17, 2006 IP