Frame Breaker HTML:

if(self!=top) { url=self.location.href;
if(document.images) { top.location.replace(url); }
else { top.location.href=url; } }
else { self.focus(); }

Do not Cloak or hide your affiliate links like this:

1) Keyword Elite: New Keyword Software.  Create 1000s Of Adsense Keywords, Dominate Adwords.

2) SaleHoo Wholesale / eBay(R) Directory......#1 Affiliate Program. Extremely High Conversions. Earn Up To $70.00 Per Ebook Sale!

 Affiliate URL Cloaking with .htaccess Redirect

This method requires editing the .htaccess file in your document root directory.


.htaccess file
This is a plain text file named ".htaccess" (note the leading period) that tells the server what to do under certain conditions. Edit with a plain text word processor like NotePad or BBEDit. You might or might not already have a .htaccess file on your server; use your FTP program to check. (Note that some servers are configured to hide the .htaccess file name from directory listings. To see if that's the case on your server, manually type in the file name and tell your FTP program to download it. If the file exists, it should download. If the file doesn't exist, the FTP program should provide a message to that effect.)
document root directory
This is the directory in which your main/index page is located on your server. The main/index page would be the web page that is loaded by default if only your domain name is typed into a browser.

The page you're going to redirect doesn't have to exist. In fact, it shouldn't exist because nobody gets to see it anyway.

This is how it works:

A link is clicked to a certain web page on your server. The server, instead of fetching the web page and giving it to the browser, just redirects the browser to a new URL.

It's very fast.

First, make up a web page file name for each affiliate link URL you want to redirect. For example, master.htm and form.htm for the Master Series home page and the Master Form V3 description page.

Next, add a line to your .htaccess file for every redirect. Assuming the above two examples and assuming your Affiliate ID is "xx", these two lines would be added:

redirect 301 /master.htm

redirect 301 /form.htm

As you can see, each line has four parts, with a space between each part:

  1. The word "redirect" is the first part. It tells the server what the line is for.
  2. The number "301" is the second part. It tells the server what result code to give the browser.
  3. The third part is a slash and the file name you've decided upon.
  4. The last part is the URL where the browser shall be redirected to. (Remember to replace xx with your own Affiliate ID.)

Now, this is what happens (assuming your domain name is

You publish a link to

When it's clicked the browser is redirected to immediately after contacting your server.

Similarly, you publish and when it's clicked the browser is immediately redirected to

It's fast because no web page or script has to be loaded before the redirect can happen.


Affiliate Tip - Use .htaccess Redirects

There are many reasons to redirect affiliate links, such as the ability to shorten them for text newsletters, and cloaking your links.  

The most common was to redirect links is with a META refresh tag or a JavaScript. This is easy enough, but there's an even better, easier way to redirect your links: the .htaccess redirect.

An .htaccess file is a plain ASCII text file you place in the root directory of a Unix server. The .htaccess technique is much easier than using other redirects, because there's no HTML required. All of your redirects are in one text file.

htaccess uses redirect to look for any request for a specific page (or a non-specific location, though this can cause infinite loops) and if it finds that request, it forwards it to a new page you have specified. For instance:

Redirect /olddirectory/oldfile.shtml

In the example above, there are three parts, and they should all be on one line:

  • the Redirect command
  • the location of the file/directory you want redirected relative to the root of your site (/olddirectory/oldfile.shtml =
  • the full URL of the location where you want to redirect

Each of the three parts is separated by a single space, and all must be on one line. You can also redirect an entire directory by simply using:

Redirect /olddirectory

Using this method, you can redirect any number of pages no matter what you do to your directory structure.

Please note - you should be careful if you're going to edit an existing .htaccess file. Before making any changes, make a copy of the original file, so if you make any mistakes, you'll still have the orignal file.

Affiliate Tip - Java Redirects

This redirect, however, is speeded up with JavaScript. If the browser is JavaScript-enabled, the redirect kicks in *before* the page finishes loading. Even a fraction of a second can make a big difference to an impatient prospective customer.

First, make a web page with the following HTML code:



<meta http-equiv="refresh" content="0; url=URLGOESHERE">

<script type="text/javascript" language="JavaScript"><!--







Next, replace both instances of URLGOESHERE with your affiliate URL.

Decide on an appropriate file name for the web page ("master.htm" for example, or emulating the name of the program you're linking to, like "form.htm"). Once the file name has been decided, upload the web page to your server.

Now you can simply publish the URL of your web page instead of your affiliate link URL. The web page will redirect the prospective customer with your affiliate link.

Note that this can appear to disable the browser's "back" button. The "back" button needs to be clicked twice, in rapid succession (just a twitch slower than a double-click) in order to get back to the original page where the link was clicked.

One way to bypass what could be an annoyance is for the link to open a new window. This way, when the new window is closed, the previous window will be at the original web page

Affiliate Tip - Affiliate Frames


1. Paste the code and save as a new HTML document (replace my title, affiliate URL, and pixel code with your own).

<!-- STEP ONE: Copy this code and paste it as a new HTML file -->

<html><head><title>INSERT TITLE OF YOUR PAGE HERE</title></head>
<frameset rows=100%,*><frame src="YOUR-AFFILIATE-LINK"></p>
<p>This page uses frames, but your browser
doesn't support them.</p>
<p>Click <a
to continue.</p>

Affiliates can find the top selling products, fresh new info products to resell and earn a sustainable amount of money online with affiliate marketing. Thanks for visiting our click bank Directory of home based businesses and websites that offer niche products, services and valuable information.

Online affiliate resources, how marketing ebooks, software, Special Reports, and resources for both merchants and affiliates. SEO software