Jump to content

Googlebot, and the like?


FrOzeN

Recommended Posts

I've noticed on some forums, with online users it has a specific one for "GoogleBot".

I was thinking of implementing something like this, but maybe to also include some other main ones for yahoo and msn. I figured that this can be determined with $_SERVER["HTTP_AGENT"], but that can also be easily spoofed.

My other thought is that maybe they have a range of IP's which could be matched against on top of $_SERVER["HTTP_AGENT"] for a better/more assumed verification of it being real.

Any suggests for creating something like this? Or anyone know a little of IP's (or just ranges) which these bots use, and what bots they're from?
Link to comment
Share on other sites

There isn't a 100% reliable way. HTTP_USER_AGENT and HTTP_HOST are your best bets, but again, they are not 100% reliable.

Also note if you are intending on supplying different content to googlebot than you do for normal users, if found out you will receive automatic -1 google rank.
Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.