Are you Cloaking your Affiliate Links?

Subscribe to my email newsletter and be the first to learn about my affiliate basics email course as soon as it launches. You can also hire me if you need help promoting your products or services online. Thanks for visiting!

Selfpreneurs.com - Work from Home | Herbal Biz LogoAs an affiliate marketer, there may be many reasons why you might want to consider cloaking your affiliate links:

There are many ways to mask your affiliate links - I’m only going to cover a few. The most easiest way is by a simple .htaccess redirect method. Let’s say we want to launch a campaign promoting mangoes from a fictional merchant “selfpreneursmangomania.com”.

  1. Create a .htacess file at the root of your site (use notepad or any other plain text editor)
  2. Add the following: redirect 301 /buymangoes http://www.selfpreneursmangomania.com/mumbo12121jumbo….r&23232@%$?ref=affid=007

You’re done. Redirect 301 just tells search engine spiders that the links you are redirecting to are not on your site. “Somename” is whatever you want to call what you’re marketing. Your masked link will now be something like yoursite/buymangoes.

The problem with using the .htacess file to manage your links is that after a while, as the .htaccess file grows larger your site will slow down. Everytime there is a request, the server checks the .htaccess file. The more links you have in there, the longer it takes to read etc.

URL Redirection sites are another method of hiding your affiliate links.

  1. Go to a site like tinyurl.com
  2. Enter your affliate link
  3. Use the resulting the link the site will give you, something like http://tinyurl.com/3drlg3

Use http://tinyurl.com/3drlg3 wherever you want to market that item. The problem with this method is that the link doesn’t really look nice. It’s short, confusing and you’ve just handed control of your affiliate link to another company.

In my humble opinion, the best method of hiding your affiliate links in my opinion is by using php redirects along with a robots.txt file.

  1. Create a file called buymangoes.php in a subdirectory on your site
  2. Open up your .htaccess file (create one if you don’t have one at the root of your directory) and add the affiliate link you are given in the location area <? header(”Location: http://www.yourwebsite/mumbo12121jumbo….r&23232@%$?ref=affid=007); ?>. So now your affiliate link should be within the file called buymangoes.php. The link that refers to that particular gadget will now be yoursite/subdirectory/buymangoes.php
  3. At your root directory, create a file called robots.txt and add:

User-agent: *
Disallow: /subdirectory/

This tells bots not to ignore links that for items in that subdirectory. This way if you ever need to manage your links just look for the php file and edit the php file accordingly.

Last but not the least, always make sure that whatever program you’re promoting allows the use of redirects. Why do all that hard work to pluck those mangoes only to find out that you can’t eat them?

Know of an even better method? Let us know in the comments section.

Share and Enjoy: These icons link to social bookmarking sites where readers can share and discover new web pages.
  • Digg
  • del.icio.us
  • Reddit
  • Facebook
  • Google
  • Mixx
  • NewsVine
  • Propeller
  • Sphinn
  • StumbleUpon
  • Live
  • Technorati
StumbleUpon It!

If you enjoyed this post, please consider to leave a comment or subscribe to the feed and get future articles delivered to your feed reader.

Comments

This is a big help. I have wondered about those long links before. This seems mch easier. Do you know if blogger allows this?

Thanks You!

20 Something, not sure how this would work with Blogger. These tips are mainly directed at self hosted sites and blogs - which is one of the great things I love about Wordpress - you control pretty much everything. If your site is new you might want to consider switching to self hosted Wordpress - just tried to look at your site and I’m getting a 404 Error?

I use Profit protector. It great for non techies and it’s free.

You can get it at

http://www.measuring-up.com/html-tools/profit-protector.html

Cloaking is so crucial. :razz: Not many people really get it, even seasoned folks don’t cloak.. Yikes. stop by my blog or visit my site, work at home Wahm Diva.

Tinyurl is a fantastic service that I have used on numerous occasions. It really helps with the length of the affiliate links.

hey thanks for sharing good job keep it up

well that depends on how you use your links
sometimes it gets necessasary
sometimes not

Thank you for the great explanation.

marsha

Hey, it’s good to provide such type of important tips, by that one can alert and take care of their credit card, if you believe that a credit card has been stolen, then you should first attempt to inform the credit card company so your card can be canceled and nothing can be purchased with it. For much more information just visit the above mentioned site. :razz:

Leave a comment

(required)

(required)