You do all the hard work of getting the traffic, reviewing the product, helping the visitor to make the decision to buy the product. But if you are robbed of the commission you deserve for that sale, it’s really sad. This occurs when someone strips out your affiliate ID from an affiliate link. They may remove your affiliate id and replace it with their own, or they may simply prefer not to buy through affiliate links.
You can prevent these thefts or at least reduce the chances by following some simple tricks to hide your affiliate links. I have listed below three commonly used methods to hide your affiliate links from your site visitors.
PHP Redirect:
Create a PHP page for each of your affiliate link and place them in a separate directory of your choice. For example you can create a directory called redirects and put your PHP pages with affiliate links in them into that directory. Your PHP page is simple with 2 lines of code as shown below:
| <?php $url=”http://www.youraffiliatelink.com”; header(”Location:”.$url); ?> |
It’s a good practice to name your PHP page as that of the affiliate program you are linking. For example, if the affiliate program is text-link-ads, you can name the page as text-link-ads.php.
Hiding Link in status bar:
You can also hide the affiliate link from being displayed in the status bar by placing some JavaScript in the link. This method is not very effective because viewing the source will reveal your affiliate link.
| <a href=”http://www.youraffiliate link” onMouseOver=”window.status=’your text here!’; return true” onMouseOut=”window.status=”; return true;”>Click Here</a> |
HTML Meta Refresh:
This is one more commonly used method by many affiliates to hide their affiliate links. It uses the Meta refresh tag. You will need to create html pages with Meta refresh tag for each of your affiliate link. Below is an example of the same.
| <html> <head> <title>Loading…</title> <meta http-equiv=”refresh” content=”0; url=http://www.youraffiliate link here”> </head> <body> <P>Loading….</P> </body> </html> |
I love the PHP redirect method. And I am in the process of changing all my affiliate links to PHP redirects.

There are many web design sites are available which are working on hundreds of designs. They need to secure their data by taking backup. The windows backup software is mostly using by them because of its better functionality. After purchasing web design people go for domain registration and tries to get services with any reputable company. The webhosting domain is rated as one of the best domain name registration service provider in many regions of the world. There are many internet marketing services provider firms which are providing solutions for the websites promotions. These companies normally use wireless internet connections because these are working at almost every corner of the world. With these internet conections ip phones are almost free and these are also working in almost every corner of the world.
September 25th, 2007 at 3:05 am
Great tip. I think I’ll try your method.
regards
EzRich
October 6th, 2007 at 3:21 pm
Thank you for sharing!
October 7th, 2007 at 11:29 pm
Thank you for sharing.
To prevent your affiliate commission theft and learn more about affiliate marketing, go to: http://www.zMillionDollars.com/blog
Many Thanks,
zMillionDollars
October 22nd, 2007 at 10:46 pm
Appreciate it for sharing.
October 24th, 2007 at 12:51 pm
Very solid info. Thanks!
October 25th, 2007 at 10:12 pm
I love the php redirect function as well. I used it on many of my websites.