Masking a CB Affiliate Link

3 replies
In Aweber for my first subscription blast (from an existing site...not a big list at all) I wanted to send folks to a CB product. This is my first time doing it so I wanted to double check with you guys....

So I created an HTML and a plain text email...this is correct, right? I was told that you do or just do a plain text email.

In the plain text email, the link is so crazy and exposed to CB. I just hated the looks of it.

So....I wanted to mask it and I found that if I create a page on my site...delete out all the html and place this bit of code, it will still track my efforts if someone happens to buy...but will not have this huge crazy looking link. It will just look like another page on my website.

<?php
header("Location: HopLink");
exit;
?>

Is this OK to do? Will this still track my stuff.....

Thanks for helping a newbie!!
#affiliate #link #masking
  • Profile picture of the author robs132
    Not sure about the exit part but the rest looks ok.

    This is a simple video by george brown how to do it:

    cloakingtutorial

    Rob
    {{ DiscussionBoard.errors[4639305].message }}
  • Profile picture of the author sitemarketer
    Yes, that will certainly work, but it is slightly slower than using an .htaccess redirect.

    To do it with .htaccess, get the free pspad editor (search google), and connect to your site with FTP, making sure to turn on the setting in the connection to view hidden files.

    Then either edit or create a file called .htaccess and put this line in it, changing the second link to your hoplink.

    # This redirects index.html to my hoplink
    Redirect /index.html http://yourhoplink.com

    John.
    {{ DiscussionBoard.errors[4639366].message }}
    • Profile picture of the author JohnMcCabe
      Originally Posted by sitemarketer View Post

      Yes, that will certainly work, but it is slightly slower than using an .htaccess redirect.

      To do it with .htaccess, get the free pspad editor (search google), and connect to your site with FTP, making sure to turn on the setting in the connection to view hidden files.

      Then either edit or create a file called .htaccess and put this line in it, changing the second link to your hoplink.

      # This redirects index.html to my hoplink
      Redirect /index.html http://yourhoplink.com

      John.
      Or, if he has cPanel, he could just go into that and create a redirect. Let cPanel do the file modification. Much lower chance of screwing it up, IMO...
      {{ DiscussionBoard.errors[4639441].message }}

Trending Topics