Ways to Mask Affiliate Link For Affiliate URLS

By Sidharth | How-to

Well 70% of the people hate to join under an affiliate link, even though they know that Joining under an affiliate link will not affect their earnings – but they just don’t join under you!

affiliate link making moneySo for this reason people mask Affiliate link. This is very useful while marketing your referral link to make good amount of money online. Sometimes people mask product links and also other payment gateway, this can be helpful without a doubt.

Here are some of the effective ways to hide affiliate/referral link, if you have any doubt then don’t hesitate to ask through comments 😉

Websites to Mask Affiliate URLS

There are many website services which redirects your affiliate links. Just go to these websites and submit your affiliate link to get a shortended URL that can be used on blog or sales page.

  1. Shorturl
  2. Tinyurl
  3. D95
  4. Zwap
  5. Global Redirect
  6. Your new URL
  7. Bravenet
  8. Hot redirect
  9. Tube URL
  10. Url Redirection

Mass PHP Redirect Code For Affiliate

Just Open your notepad and use this code.  For example, I’ve changed and added this links…


if ($o == “1”) {$link = “http://www.google.com”;} // Default link
if ($o == “2”) {$link = “http://www.yahoo.com”;}
if ($o == “3”) {$link = “http://blogote.com”;}
if ($o == “4”) {$link = “http://bangaloreloka.com”;}

header(“Location: $link”); // Jump to the hidden affiliate URL above

You can see that I have inserted a different URL depending on the number 1, 2, 3, 4.


Now save this file as links.php or anything you feel like. It’s your choice! After saving (I saved as links.php) upload it to your wordpress installation directory. Done! Now whenever you want to redirect your affiliate link or mass it, just add this link to your blog post

<a href=http://www.yoursite.com/links.php?o=1>My link</a>

This will redirect and present the visitors with the first link (in my case it is Google.com). Pretty easy and you can mass bulk affiliate links for your website or product landing page.

Affiliate .htaccess 301 redirect

  • Open your htaccess file and then add this code in the file (Save the file)

Redirect 301 /product http://youraffiliatelinkhere.com?123

  • Now go to  http://yourdomain.com/product, this URl will be redirected to the affiliate link.Yeah,quiet simple !

HTML Redirect For Affiliate URL

This is the method I have used on my other websites, best way to fool people 😀 lol..

<a href="http://www.blogote.com/" onclick="document.location.href = 'http://www.REALURLHERE.com/'; return false;">Go to </a>

For example

<a href="http://www.blogote.com/" onclick="document.location.href = 'http://www.adbrite.com/mb/landing_both.php?spid=85459&afb=110x32-1'; return false;">Go to Blogote</a>

About the Author

Hi, I am Sidharth. Full-time blogger. Editor of Blogote. And a self-proclaimed geek!

Webfreak September 23, 2008

Thanks for these tips! They are all great since I use various different technologies. I found that No. 4 Html code redirect – works the best in my email links, so a great big thank you for that one!

dimaks July 1, 2008

most people this time knows an affiliate link by just plain observation and visual 🙂 if you mask it, they will know that is. i don’t know but maybe it’s just me.

but then these are great finds.

Venkat June 19, 2008

Sid, I feel the 301 Redirect should be the easiest of all.

Oldbuddy June 2, 2008

A simple inexpensive way that gives the added benefit of hiding the final URL in the address bar where it could still be changed, is grab a 99 cent info domain from GoDaddy and use forward with masking to point to your affiliate link.

PixlNinja May 26, 2008

D95 is the best URL masking tool I have seen for Affiliate Marketing.

Sidharth May 25, 2008

@Shy guy – Thats true.. we need to convince them first but these do play a small role (especially in blogging).

Thanks for the comment 🙂

shy guy May 25, 2008

Nice tips..
I use hopurl ( Website Services to Hide/redirect the link)
it ain’t easy to get customer from affiliate..
You need some explanation about product and luck..

Comments are closed