|
Are you seeing a lot of 404 traffic from the random words.php requests?
The first thing you want to do is get the user-agent string they're running under from your logs, and ban that in your robots.txt file; this only works on polite 'bots, though.
Are all of the requests coming from the same IP address? It depends what type of web server you're using how you would block that, I'm guessing you have a .htaccess file you can do quite a bit with if people are looking for PHP on your site? If there's a consistent IP, referrer, or some other pattern, the good folks here will help you figure out how to ban them.
Simply banning access would be a lot better than running a 'bot trap. The theory behind traps is to make the 'bot less productive by wasting its time and bandwidth ... that also wastes yours.
|