homepage Welcome to WebmasterWorld Guest from
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Pubcon Platinum Sponsor 2014
Home / Forums Index / Search Engines / Sitemaps, Meta Data, and robots.txt
Forum Library, Charter, Moderators: goodroi

Sitemaps, Meta Data, and robots.txt Forum

What is a bot trap?

WebmasterWorld Senior Member 10+ Year Member

Msg#: 3349946 posted 5:30 pm on May 25, 2007 (gmt 0)

I've read that term in several places here, but no one explain exactly what it is or how does it work?
I understand a rap trap :), but could you trap a bot?



WebmasterWorld Administrator goodroi us a WebmasterWorld Top Contributor of All Time 10+ Year Member Top Contributors Of The Month

Msg#: 3349946 posted 4:28 pm on May 26, 2007 (gmt 0)

It is a way to identify bad bots that do not honor robots.txt and then block the ip addresses they come from.

#1 - Create an empty subdirectory
#2 - Block this subdirectory with your robots.txt
#3 - Place a 1 pixel link in that directory (humans wont see it, only bots will follow it)
#4 - Track all ip addresses that hit that link and then block those ips from accessing your site

This system will identify the bots (more specifically their ip addresses) and will hopefully avoid accidentally blocking the ip addresses of human visitors.

Global Options:
 top home search open messages active posts  

Home / Forums Index / Search Engines / Sitemaps, Meta Data, and robots.txt
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved