Welcome to WebmasterWorld Guest from

Forum Moderators: goodroi

Message Too Old, No Replies

What is a bot trap?

5:30 pm on May 25, 2007 (gmt 0)

Senior Member

WebmasterWorld Senior Member 10+ Year Member

joined:Jan 31, 2005
votes: 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?
4:28 pm on May 26, 2007 (gmt 0)

Administrator from US 

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

joined:June 21, 2004
votes: 202

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.