1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

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

Discussion in 'Cloaking and Content Generators' started by bahi0100, Jan 13, 2013.

  1. bahi0100

    bahi0100 Newbie

    Joined:
    Nov 27, 2012
    Messages:
    10
    Likes Received:
    0
    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
     
  2. Metus

    Metus Newbie

    Joined:
    Jan 3, 2012
    Messages:
    48
    Likes Received:
    1
    i have. i've PM you.
     
  3. makhyan

    makhyan Newbie

    Joined:
    May 30, 2012
    Messages:
    17
    Likes Received:
    1
    may I have it too?
     
  4. timmon

    timmon Newbie

    Joined:
    Sep 11, 2012
    Messages:
    27
    Likes Received:
    2
    Occupation:
    Web-programmer PHP,.NET
    Location:
    Russia
    Home Page:
    PHP code:
    PHP:
    function IsGoogleBot()
    {
    if(
    stripos($_SERVER['HTTP_USER_AGENT'], 'google') !== false)
             {
             
    // Oh, google come
             
    return true;
             }
    return 
    false;
    }
     
  5. pitbulllopez

    pitbulllopez Jr. VIP Jr. VIP Premium Member

    Joined:
    Mar 19, 2012
    Messages:
    1,084
    Likes Received:
    45
    there can be many ideas regarding that, i will come up with some ideas that you will really find useful.