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.