article thumbnail

How to Block Unwanted Bots from Your Website with.htaccess

SoCal Delicious

This doesnt mean that you cant try, of course. How to Identify the Bot You Want to Block Before you can block a bot, you will need to know at least one of two things: the IP address where the bot is coming from or the"User Agent string" that the bot is using. The IP address is a series of 4 numbers separated by dots.

IP 38
article thumbnail

How to cleverly integrate your own URI shortener

SoCal Delicious

Of course the sequence of steps is a generalization, so perhaps you’ll have to change it to fit your needs. While handling bots, you should detect search engine crawlers, too: /* lookup your crawler IP database to populate $isCrawler; then, if the IP wasnt identified as search engine crawler: */ if ($isCrawler !==

SEO 37