Affiliate Link Cloaking with Simple HTML

by Gobala Krishnan

Although getting a free affiliate link cloaker account with LinkTrackr is the fastest and easiest way to cloak or mask your links, you can also use simple HTML to do it manually. It’s called the “meta refresh” method and here’s how it works.

First, you need to open up NotePad and enter the following code:

<html>
<head>
<title>Link Name</title>
<meta http-equiv="refresh" content="0;URL=http://www.linktrackr.com"/>
</head>
<body>
</body>
</html>

(To avoid mistakes, just copy the code above and replace the variables accordingly)

In this example, the code tells a web browser to “refresh” the page and redirect the user to http://www.linktrackr.com after 0 seconds.

You can change it to one or two seconds if you want to display some text before redirecting the user to your affiliate link. The Link Name isn’t really required but it does help to put in the name of the product or program that you’re promoting.

Then, save the file as whatever.html – of course you’ll replace “whatever” with the name of the link you want to create. Then, upload that file to your web hosting account. You can either place it inside the root folder (public_html or www), or create a new folder for it.

All you need to do is know the URL to it, and place that URL in your advertising campaigns.

In truth, this tactic is more accurately known as link masking, not link cloaking. Cloaking a link actually requires framing the content of the target URL within your own page, like what you can do with LinkTrackr. Also, manual link cloaking with HTML does not give you any form of tracking whatsoever.

However, if you need a simple and effective way to cloak your affiliate links, try the HTML link cloaking method above.

No related posts.

{ 6 comments… read them below or add one }

Artwork Pieces December 12, 2010 at 8:29 pm

I am going to try this method out.

Reply

Artwork Pieces December 12, 2010 at 8:37 pm

I tried it and my problem with it does the redirect but, my ugly affiliate link still appears in the search bar.

Reply

Gobala Krishnan December 13, 2010 at 9:14 am

As mentioned, this method only masks your URL, it doesn’t cloak it or hide the actual URL.

Reply

Artwork pieces December 13, 2010 at 10:59 am

Some does hid the actual affiliate links. My question is have you ever heard people not bypassing affiliate? Does it really happen? Does affiliate link’s hijack ever happen?

Reply

Gobala Krishnan February 4, 2011 at 5:47 am

Sure it does, and the easiest is ClickBank

Reply

Dess February 11, 2012 at 12:02 pm

As the other guy said, this system is a redirect than a cloaking because the destination link is visible in th address bar. Any other code?

Reply

Leave a Comment

{ 1 trackback }

Previous post:

Next post: