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

Backlinks seen by GOOGLE but not by humans

Discussion in 'Black Hat SEO' started by fuzzybuzzy, Aug 13, 2010.

  1. fuzzybuzzy

    fuzzybuzzy Newbie

    Joined:
    Jan 3, 2010
    Messages:
    5
    Likes Received:
    0
    Hello,

    I know there is a way, but does anyone know how to have a link on a website only be seen by google? Noone can see it, even if you view the source code...

    Example, say you have a link on a site, and it's hidden... only the search engine can see it, but if someone goes to the site or searches the source code they can't see it?

    Thanks a lot :)
     
  2. aznxmtg

    aznxmtg Regular Member

    Joined:
    Jul 9, 2010
    Messages:
    327
    Likes Received:
    48
    I think it is call a sitemap.
     
  3. fuzzybuzzy

    fuzzybuzzy Newbie

    Joined:
    Jan 3, 2010
    Messages:
    5
    Likes Received:
    0
    Sorry, I forgot to mention...the link would be on the homepage of the website.
     
  4. Aussie

    Aussie Junior Member

    Joined:
    Nov 8, 2007
    Messages:
    130
    Likes Received:
    17
    This should do it.


    Code:
    <?php
    $userAgent = $_SERVER['HTTP_USER_AGENT'];
    
    if(stristr(strtolower($userAgent), 'googlebot') === FALSE) {
    echo 'human viewable content or links.. ';
    }
    else {
    echo 'the links you want to show to google';
    }
    ?>
    I have the else in there in case you want to show different links or content to humans


    Code:
    <?php
    $userAgent = $_SERVER['HTTP_USER_AGENT'];
    
    if(stristr(strtolower($userAgent), 'googlebot') === TRUE) 
    {
    echo 'the links you want to show to google';
    }
    ?>
    If you don't want anything other than the hidden links use the 2nd code.

    Aus
     
  5. summertime1

    summertime1 Junior Member

    Joined:
    Jun 11, 2010
    Messages:
    130
    Likes Received:
    22
    Its called Cloaking and you can get severly punished by google for this sort of think.

    If you want to hide your backlink from competitors use other techniques like 301 redirects.