Forum Moderators: phranque

Message Too Old, No Replies

How to block a specific url?

         

DrJOnes

8:22 pm on Nov 3, 2003 (gmt 0)

10+ Year Member



Hi,

Someone installed an annoying bot on one of his webpage. This bot sends constent hits to my site. I am aware of how to block a specific IP, but in this case, the html that contains the bot is located on a geocities account. I wouldn't to block all traffic coming from geocities.

Is there a way in my .htaccess to simply block traffic from a specific url? The url is like this: www.geocities.com/user/bot.html

I would really like to stop this bot from pestering my site.

Thank you.

DrJOnes6

oilman

9:50 pm on Nov 3, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



you can block it by UserAgent the same if blocking by IP - that's assuming that he's using a custom UA.

DrJOnes

11:47 pm on Nov 3, 2003 (gmt 0)

10+ Year Member



... What would be the best code to use to block the full url mentioned above?

DrJOnes

oilman

11:56 pm on Nov 3, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



have a look at this thread: [webmasterworld.com...]

Looks to be the same thing you're looking for. Hope it does the trick.