Hiding Affiliate Links

Discussion in 'Affiliate Programs' started by sarahturned, Sep 15, 2008.

  1. #1
    I'd love to hear some suggestions on what are the best ways to hide affiliate links on my wordpress blog.

    I've seen some use a wordpress plugin but if that plugin stops working in a later version of wordpress, it would mean a lot of recoding.

    What other options are there to hide the links?
     
    sarahturned, Sep 15, 2008 IP
  2. onesteptomillion

    onesteptomillion Peon

    Messages:
    88
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #2
    onesteptomillion, Sep 15, 2008 IP
  3. atulperx

    atulperx Banned

    Messages:
    3,949
    Likes Received:
    196
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Hey buddy i want to know that is it necessary to hide them , do affiliate link can harm our rankings and serp .
     
    atulperx, Sep 16, 2008 IP
  4. Scar

    Scar Peon

    Messages:
    439
    Likes Received:
    8
    Best Answers:
    0
    Trophy Points:
    0
    #4
    Create a subdomain (subdomain.yoursite.com) and upload a .php file to the root of that subdomain with the following code:

    <?
    Header( "HTTP/1.1 301 Moved Permanently" );
    
    Header( "Location: http://affiliatelink.com" );
    ?>
    
    PHP:
    You then use the subdomain in the place of your aff link. For instance, if it's for a green tea offer, you might want to use the subdomain "greentea.yoursite.com".

    This will automatically forward that subdomain to your affiliate link.

    Obviously you'll want to change "http://affiliatelink.com" to your actual affiliate link. This way you can mask your links nice and neatly on your site. The user will never see them.
     
    Scar, Sep 16, 2008 IP
  5. theman12468

    theman12468 Peon

    Messages:
    537
    Likes Received:
    5
    Best Answers:
    0
    Trophy Points:
    0
    #5
    Will this be beneficial towards SEO or hurt your rankings?
     
    theman12468, Sep 16, 2008 IP
  6. downloadthenet

    downloadthenet Active Member

    Messages:
    497
    Likes Received:
    11
    Best Answers:
    0
    Trophy Points:
    78
    #6
    This is the one I use for in-content aff. links:

    Or you can create a folder and put Disallow in robots.txt for that folder. Then create a file for each affiliate link that contains a PHP redirect to your aff. link. The actual link would point to the file.
     
    downloadthenet, Sep 16, 2008 IP
  7. mondig

    mondig Peon

    Messages:
    66
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #7
    Use TinyURL.com to hide link, its easy.
     
    mondig, Sep 16, 2008 IP
  8. onesteptomillion

    onesteptomillion Peon

    Messages:
    88
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #8
    firefox with noscript addon will block the javascript and http meta redicrect, php redirect is better.
     
    onesteptomillion, Sep 16, 2008 IP
  9. narsticle

    narsticle Peon

    Messages:
    1,679
    Likes Received:
    12
    Best Answers:
    0
    Trophy Points:
    0
    #9
    there are various plugins like wp-affiliate
     
    narsticle, Sep 16, 2008 IP