A simple way to cloak your links

Affiliate 101

It’s always a good idea to hide, redirect, cloak, mask (whatever you want to call it) your affiliate links on your landing pages. There are tons of ways to do this, but here is one of the quickest and easiest methods.

1. Download this sample file, which uses a php redirect header. In this example it is called link.php.

2. Change the sample link in the file to your own link, rename the file whatever you would like with a .php extension.

3. Upload this file to your web server. In this example say it’s a domain called www.money.com

4. Now you can use the link www.money.com/link.php to call the affilate link that you placed in the simple php file.

It doesn’t get any easier than that.

Like this post? Please bookmark! These icons link to social bookmarking sites where readers can share and discover new web pages.
  • Digg
  • Sphinn
  • del.icio.us
  • Facebook
  • Mixx
  • Google
  • Reddit
  • StumbleUpon
  • PlugIM
Posted in Affiliate 101, Affiliate Marketing by Chad on 04|09|07
Subscribe to CDF Networks

RSS feed | Trackback URI

13 Comments »

Comment by Tim
2007-09-04 23:07:46

Chad,

Thanks a lot for this! I have found this to be a major hassle at times. So, this method does not require .htaccess redirects?

Do you think this really saves you from Google slaps?

Thanks again,
Tim

 
Comment by Chad
2007-09-05 17:09:24

No .htaccess required. It’s straight php.

As far as Google slaps… It can’t hurt!

 
Comment by Webd360
2007-09-22 16:59:24

thanks, I’ve been looking for something like this.

 
2007-10-01 21:24:22

[…] Creating an Adwords-Ready Landing Page Landing Page Quality Score Cloaking Affiliate Links […]

 
Comment by Grant
2007-11-05 16:18:41

Hi

How would you use this in Frontpage 2003?

Thanks
Grant

 
Comment by James
2007-12-23 09:05:14

Chad,

Thanks for this - it’s the simplest one I’ve seen. And KISS is my motto :-)

Cheers!

 
Comment by Long
2007-12-25 07:50:47

Chad,

You said “As far as Google slaps… It can’t hurt!”

Noob Question: Are you implying that this might keep you from getting google slapped?

Thanks,

Long

 
Comment by andrew
2007-12-31 17:56:41

What if you have more than one aff link on a page say 5-10 that goes to different sites how is that done?

 
Comment by RichBeaver
2008-01-08 04:58:07

I’ve wrote a small article dedicated to easy cloaking methods using JavaScript and PHP for others that are not so good with programming
http://richbeaver.com/webmasters/link-cloaking-step-by-step-guide/

 
Comment by Frank
2008-02-24 21:56:55

Does this cloaking method hurt your quality score in adwords?

 
Comment by Jeff
2008-03-17 22:20:20

Cool, I’ve seen other methods of doing this, but this is the easiest. It’s just what I was looking for.

Thanks

 
Comment by Scott
2008-05-29 22:03:26

thats beautiful! Thanks for sharing

 
2008-06-01 10:59:35

[…] up and get ahead of the crowd. Creating an Adwords-Ready Landing Page Landing Page Quality Score Cloaking Affiliate Links Landing Page Keys to […]

 
Name (required)
E-mail (required - never shown publicly)
URI
Your Comment (smaller size | larger size)
You may use <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <code> <em> <i> <strike> <strong> in your comment.

CDF Networks Sponsors

Clickbooth CPA Network Market Leap Rewards NeverblueAds Affiliate Network Speed PPC

Recommended

Market Leverage

Neverblue Ads

CX Digital

Trellian Keyword Tool

Azoogle Ads
Azoogle Ads Coming Soon

Sponsors

NeverblueAds Affiliate Network

Latest Twitters

Top Commentators

Blog Design

Ask me a ppc marketing question