3 powerful ways to cloak affiliate links

If you are an affiliate you can make more sales if your affiliate links are cloaked / hidden etc. I collected 5 ways that can be used to hide your affiliate link. :)

1. HTML: Open Notepad or an html editor software and copy-paste the following:

<HTML><HEAD><TITLE></TITLE> <meta
http-equiv=”refresh” content=”0; url=http://www.companyname.com/affiliateID=yourname“>
</HEAD> <BODY></BODY> </HTML>

After pasting the text above into Notepad or the html editor, you need to change the red link to your affiliate link, save the text as html (like: companyname.html) and then upload it to your webhost. After that all you need to do is link in your blogposts to: http://www.myblog.com/companyname.html .

2. Javascript: You need to copy and paste the link below to your website’s html code. :) Of course you need to change the red link to your own affiliate link, and the green link to the promoted company’s link. The trick in this link cloaking method is simple, the code below controls what the web browser’s status bar shows to the visitor. The only problem with the Javascript link cloaking method is that the visitor will be sent to the http://www.companyname.com if the visitor turned off Javascript.

<a href=”http://www.companyname.com/affiliateID=yourname
onmouseover=”window.status=’http://www.companyname.com‘; return true;”
onmouseout=”window.status=”; return true;”>
Click Here</a>

3. PHP: The shortest method, open Notepad or an html editor, than copy paste the following code into it and save as .php (like companyname.php). Also don’t forget to change the red link to your affiliate link. :)

<?
header(“Location:
http://www.companyname.com/affiliateID=yourname“);
?>

Don’t buy expensive link cloaking software, use these methods for free.


5 Responses to “3 powerful ways to cloak affiliate links”

  • George Says:

    hi!

    nice post and helpfull, i have a small question for example i will create a html file as the one you mention above and then upload it to my host , when spiders will search my host and they find this html file i create they will index it right ? you think we will have any issues with duplicate content , do i need to use any kind of redirect 301 ?

    thanks

  • Selif Says:

    George: You can stop spiders from indexing a page by including:

    in the section.

  • im Says:

    how do you write the codes explained in three ways above if you are promoting many affiliate links in a single webpage
    e.g – myid.companyA.hop.clickbank, companyB, companyC…so on… how would you write codes for all the three affiliates in a single webpage?

  • Dinh Trung Says:

    I love this post and re-arrange at mine with original link back !

    Thanks for your great post!

    Dinh Trung

  • Hosting Review Says:

    I like #2 and #3 combined

    Link should looks like
    http://www.yoursite.com/recommend/affiliatesite
    where it contains #3

    And apply #2 to the link

Leave a Reply