Blogging | Affiliate Link Cloaking - Part 3

Affiliate Link Cloaking - Part 3

Posted on October 29, 2007
Filed Under Affiliate Marketing |

Following on from the first two posts on how to hide and cloak your affiliate link, here is another very popular way to achieve the same results. This particular way uses a PHP redirect that can easily set up by using a WordPress Blog and FTP.

This part of link cloaking is most often used by the big boys in Internet marketing as it is quite effective in making your link look like it is an extension of your own website and not an affiliate link.

To do this, simply follow the steps outlined below and you should be ready to go in an instant.

What you need:

1.) WordPress Blog or anything else that works with PHP script.

2.) Notepad or similar

3.) FTP account. I use Smart FTP it is free.

Once you are ready, lets get started on the following.

1st: you need to create a new folder and save it on your hard drive. Use a location you can remember later (Name the folder “recommends” or “go” or whatever you like really.) Just take note that this folder will become part of your affiliate link in the end.

2nd: you will open up a new notepad file and input the following code

<? header("Location: http://putyouraffiliatelinkurlhere"); ?>

image Instead of the above URL within your code, you insert YOUR affiliate link. Click save as and choose “all files”, then name the file after the affiliate program you are wanting to promote.

Example: if you want to promote Dell computers, then name the file “dell.php” or similar. You need to type the extension .php into the file before saving, otherwise you will end up with a text file instead. This step will save your file as a PHP file.

3rd: save your new PHP file in your newly create folder from the first step.

4th: repeat step two as often as you like for all the affiliate programs you use, naming them all with the appropriate affiliate program name.

5th: Open up your FTP account and upload your folder (go, recommends or whatever you name it) to your public_html.

6th: don’t forget to update all your affiliate links to reflect the new path. In the example of the Dell link above your newly create affiliate link will now be

http://www.yoursite.com/go/dell.php (if you named the folder “go”)

See Affiliate Cloaking Part 1

See Affiliate Cloaking Part 2

Monika Mundell

Owner and Author of Blogging Web 2.0

Technorati Tags: , , ,

Technorati Tags: , , , , ,

Hello, if you’re new here, you may want to subscribe to my RSS feed. Thanks for visiting!

Comments

3 Responses to “Affiliate Link Cloaking - Part 3”

  1. Terry (78 comments.) on October 31st, 2007 1:31 pm

    Monika, that’s probably the best affiliate link cloak I’ve seen.

    I’ve been using the HTML version for a while now, but the page source can still be viewed by a determined aff-link thief! Using php script tends to stop this completely.

    I might just start changing my links over to this method…

    Terry :-)

  2. RichBeaver (1 comments.) on January 7th, 2008 11:47 pm

    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/webmaste.....tep-guide/

  3. Php Link Cloaker: Hide Affiliate Links And Track Visitor Clicks. | 7Wins.eu on August 4th, 2008 9:26 pm

    […] ON THE MARKET. ONE TIME PAYMENT OF $19.95 TODAY ONLY! $9.95 Sites you may be interested in Affiliate Link Cloaking - Part 3 Tags affiliate program short url affiliate marketing affiliate link affiliate This product is […]

Leave a Reply




Close
E-mail It