Cloaking Affiliate Links
-
Following the topic of small changes to your landing page that can significantly improve your affiliate campaign it brings us onto cloaking your affiliate links.
Why would I want to cloak my affiliate links?
There are a number of reasons why you will benefit from cloaking your affiliate links, the main one is to give the impression to your visitors that they are not leaving your website when they are in fact clicking through to the offer. Some people may be put off if they knew they was entering a totally different site which is why it can help to keep the same theme of the offer on your landing page so they are not shocked.
So, how do I do it?
The process of cloaking your affiliate link is very easy and can actually save you time when it comes to testing different offers, you’ll see why in a moment WINK
First off have to create a folder containing a file with the code below. Try to keep the filename related to the niche you are doing, for example ringtones.php.
<?php
header( ‘Location: http://www.affiliate-link-here.com/’ ) ;
?>
Once you have this it’s just a case of replacing your affiliate links with a link pointing to that file, so your links will look like this:
<a href=”http://www.your-domain.com/goto/ringtones.php”>
The ‘goto’ is the folder that contains your cloaking file, when it comes to changing your offer all you have to do it edit the ringtones.php file and it will change them all across your website.
Get new posts sent directly via email by subscribing to my RSS feed.

















October 3rd, 2008 at 5:55 pm
Nice article!
Btw, for Wordpress self-hosted users, it could be easier to cloak url using WP plugin called GoCodes. I’ve tried it for a couple of months.
Reply to this comment
December 22nd, 2008 at 3:47 pm
could you explain a bit more. What type of file do I create to add that code? Just a simple text file? Or a php file?
Reply to this comment
December 22nd, 2008 at 4:04 pm
That file needs to be a .php file
Reply to this comment