Affiliate Marketing Tutorial: How To Cloak Your Affiliate Links

Posted by On with No Comments

Categories: Affiliate Marketing Articles



[trafficplayer_skin padding: 36px 0 0 93px; width: 548px; height: 373px; background: url(http://marketinglocal.org/wp-content/uploads/skin8_500x300.png) no-repeat top left; text-align: left;][trafficplayer_youtube_video width=”500″ height=”300″ src=”http://www.youtube.com/embed/GV7HmV2ZCug?&autohide=0&autoplay=1&controls=0&hd=0&rel=0&showinfo=0″ ][/trafficplayer_youtube_video][/trafficplayer_skin]

How To Cloak Your Affiliate Links Using A PHP Redirect

You want to learn How To Cloak Your Affiliate Links Using A PHP
Redirect.

Cloaking is actually a redirect, when the link is clicked on, it
will change to the link of the sales page for your own affiliate
product.

There are many reasons why you should cloak your affiliate links
with PHP.

The first reason is that Google doesn’t like affiliate links.

The second reason is than there are some internet marketers who
would like to take your affiliate links and insert their own
links into them.

The structure of Clickbank hop links is not offering you any
protection and it is easy for other people to use your links.

It is not difficult to do the PHP redirect cloaking and you don’t
need to buy some fancy paid plugin to do this.

Here are some easy steps that can teach you how to do the PHP
redirect cloaking.

You should first get your own affiliate link and paste it into a
notepad.

After that, you need to paste the following code into a notepad
as well:

<?php
header(“Location:hxxp://youraffilatelink.”);
exit;
?>

At the end you just need to take your affiliate link and insert
it into the above code while changing  “hxxp” to “http”.

You can save this notepad file under any name and you should use
a .php extension for your file.

In order to save your file as a .php file instead of saving it as
a .txt file, you just need to click on the drop down menu and
select “All files”.

Next thing you need to do is to go to your file manager in CPanel
and create a new folder that is in the root of your domain.

All you need to do now is to upload the .php file you have just
created into that folder.

Your affiliate link is now cloaked and protected from other
internet marketeers.