Hide Affiliate links from Google?

Discussion in 'Cloaking and Content Generators' started by Nosence, Jun 2, 2012.

  1. Nosence

    Nosence Senior Member

    Joined:
    Dec 28, 2010
    Messages:
    925
    Likes Received:
    42
    I need an easy way to hide my affiliate links from google.
    My site is on wordpress is there a good plugin for this?
     
  2. reallife

    reallife Jr. VIP Jr. VIP

    Joined:
    Apr 2, 2010
    Messages:
    2,696
    Likes Received:
    603
  3. ryannull

    ryannull Senior Member

    Joined:
    Feb 27, 2012
    Messages:
    805
    Likes Received:
    333
    Location:
    Zombieland, Florida
    Home Page:
    Use a php redirect.

    PHP:
    <?php
    header
    ('Location:AFFILIATE_URL');
    exit;
    ?>
    Remember to use the nofollow attribute and block the file via robots.txt.
     
  4. dbyrn

    dbyrn Power Member

    Joined:
    Feb 20, 2010
    Messages:
    746
    Likes Received:
    224
    Occupation:
    helping people
    You can use an url shortener + make your link nofollow. It's the easiest thing I can think of.

    D.
     
  5. blackhataffiliate

    blackhataffiliate Senior Member

    Joined:
    Oct 19, 2008
    Messages:
    847
    Likes Received:
    1,365
    Location:
    USA
    I also, place the redirect in a folder (call it what ever you want) as index.php. So if I place the link in a folder named go, my link would be domain.com/go.
     
  6. Nosence

    Nosence Senior Member

    Joined:
    Dec 28, 2010
    Messages:
    925
    Likes Received:
    42
    Can you have more then 1 affiliate link in the file or doyou need one for each?
     
  7. blackhataffiliate

    blackhataffiliate Senior Member

    Joined:
    Oct 19, 2008
    Messages:
    847
    Likes Received:
    1,365
    Location:
    USA
    1 link per file. However, I do not see why you could not rotate offers with a link rotator (see below - found online)