Framed or UN-Framed affiliate URL ?

Discussion in 'Programming' started by AidenChong, Jun 3, 2009.

  1. #1
    I was trying to cloak my affiliate URL and I found 2 ways to cloak it.
    The first method is a FRAMED html method (URL staying within your own domain).
    The second method is a NON-FRAMED php cloaking method (Directly redirecting URL to affilate page) .

    First example :
    http://test.top-recommendation.com/recommends/yahoo/
    Code (markup):
    Second example :
    http://test.top-recommendation.com/recommends/google/
    Code (markup):
    Please copy and paste the above link into your web browser to test it, and you will get what I meant.

    May I know :
    1) Which is a better way to cloak my affiliate link and serve better protection for affiliate link theft?
    2) Which method is proven to be having a higher conversion rate and thus serve as a better way to maximize my earning as an affiliate ?

    Thanks in advance for any suggestion made [​IMG]

    P/S : You can take a view at the source code of the FRAMED URL if you would like to, and let me know if that is vulnerable to any kind of risk..
     
    AidenChong, Jun 3, 2009 IP
  2. AidenChong

    AidenChong Peon

    Messages:
    25
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #2
    By the way, I have got a reply from someone mentioning that framed URL is generally slowing down the loading time of a site which lies within the frame, is that true ?
     
    AidenChong, Jun 4, 2009 IP
  3. AidenChong

    AidenChong Peon

    Messages:
    25
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Well, somehow it's going to slow down the site loading, if I am going to use the iframe method.

    After reading some solutions given in another place, I've decided to go for the php redirection method. It works well with the situation which I've mentioned.
     
    AidenChong, Jun 5, 2009 IP
  4. nishantbamb

    nishantbamb Peon

    Messages:
    35
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #4
    yeah even I have experienced, using iframe can slow the page loading process, better go for php redirection ...
     
    nishantbamb, Jun 5, 2009 IP
  5. AidenChong

    AidenChong Peon

    Messages:
    25
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #5
    Yea, nishantbamb.

    But even if I were to use the php redirection method, there are two codes that I came across with.

    <?php
    header('Location: h-t-tp://www.YourAffiliateURLHere.com/');
    ?>


    AND

    <?php
    $url =
    "YourFullAffiliateURL";
    header("Location: $url");
    exit();
    ?>


    Can anyone please tell me what's the difference between the two codes?
     
    AidenChong, Jun 5, 2009 IP