I Need a code to Redirect only googlebot to another site And Keep Humans :)

bahi0100

Newbie
Joined
Nov 27, 2012
Messages
17
Reaction score
25
hello guys, i need a code or something that i can use in my blog "blogger based" to redirect only robots and keep humans "for Marketing proppose " any idea guys :):D
 
PHP code:
PHP:
function IsGoogleBot()
{
if(stripos($_SERVER['HTTP_USER_AGENT'], 'google') !== false)
         {
         // Oh, google come
         return true;
         }
return false;
}
 
there can be many ideas regarding that, i will come up with some ideas that you will really find useful.
 
Back
Top