Is this a White Hat way to hide affiliate links?

Discussion in 'Search Engine Optimization' started by Kylven, Aug 10, 2009.

  1. #1
    For both security and search engine optimization, is the following method a legal way to cloak affiliate links? I created a directory restricted by robots.txt which holds a bunch of php files that redirect visitors to the affiliate link. For example:

    <html>
    <head>
    <title>Affiliate Title</title>
    <meta name="robots" content="noindex,nofollow">
    <script>window.location="http://www.affiliatecode.com";</script>
    <meta http-equiv="refresh" content="1; url=http://www.affiliatecode.com">
    </head>
    <body>
    <p align="center">You are being taken to the correct page.
    <br>If the page does load after 5 seconds,
    <a href="http://www.affiliatecode.com">click here</a>.</p>
    </body>
    </html>
    Code (markup):
    Now on the affiliate page I just link rel="nofollow" to the php file and the user goes to the intended target without revealing the affiliate code.

    My hope is to make the links much simpler, improve click through rates, and also remove any negative impact search engines hold toward sites using affiliate code.

    Would Google penalize for operating this way? How about the affiliate programs themselves? Would Commission Junction not like how this has been implemented? Is there a better approach?

    Thanks
     
    Kylven, Aug 10, 2009 IP
  2. HighRankingSEO

    HighRankingSEO Well-Known Member

    Messages:
    423
    Likes Received:
    9
    Best Answers:
    0
    Trophy Points:
    125
    #2
    Good question, I am going to try to dig up some dirt on this. I am not an affiliate nor have I worked with any affiliates but now you have me very interested. I will come back with what I find if no one else answers the question.
     
    HighRankingSEO, Aug 10, 2009 IP
  3. Dan Schulz

    Dan Schulz Peon

    Messages:
    6,032
    Likes Received:
    437
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Dan Schulz, Aug 10, 2009 IP
  4. jitendraag

    jitendraag Notable Member

    Messages:
    3,982
    Likes Received:
    324
    Best Answers:
    1
    Trophy Points:
    270
    #4
    I would say most affiliate links are hidden, I will recommend that you use 301 redirect instead of meta refresh. With meta refresh the 'referral' info is lost unless you are using Safari. (try it out).
     
    jitendraag, Aug 10, 2009 IP
  5. Kylven

    Kylven Peon

    Messages:
    104
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #5
    How is the referral info lost?

    As for tracking, I could just place Analytics code in the php files.
     
    Kylven, Aug 11, 2009 IP
  6. Kylven

    Kylven Peon

    Messages:
    104
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #6
    I decided to go with a php redirect instead

    <?php
    header("HTTP/1.1 301 Moved Permanently");
    header("Location: http://www.affiliatelink.com");
    exit();
    ?>
    Code (markup):
    I sure hope this is allowed by most affiliate programs and search engines.
     
    Kylven, Aug 12, 2009 IP
  7. Sxperm

    Sxperm Notable Member

    Messages:
    4,386
    Likes Received:
    142
    Best Answers:
    0
    Trophy Points:
    225
    #7
    Why don't you just use 301 redirect via .htaccess and mark that link as "nofollow"? Put this in your .htaccess
    
    redirect 301 http://www.domain.com/affiliate-link http://www.cj.com/tracking-id.html
    
    Code (markup):
    When use link just use this code

    
    <a href="http://www.domain.com/affiliate-link" rel="nofollow">
    
    Code (markup):
    You can name whatever on the affiliate link. Hope this help.
     
    Sxperm, Aug 12, 2009 IP