Cloaking Affiliate Links - A Quick Tip
Hiding affiliate links - a tip for newbies:
Many times I’ll upload a script program like PHP click counter to mask my affiliate links, but sometimes I only have a few affiliate links on a website. Call me crazy :lol:. In those cases I don’t want to bother installing a script program.
Here’s the most quickest, painless method I’ve found yet to masking affiliate links without installing folders or script programs, etc.:
Add this to your .htaccess file:
Redirect 301 /namefile http://cnn.com
Of course you change http://cnn.com to your full affiliate link
/namefile can be whatever you like. Now whenever you link to your affiliate product, use your-domain-name. net/namefile, and your visitors will be swept away to cnn.com once they click that link. The visitor won’t see your affiliate link on your page at all, they’ll just see your-domain-name .net/namefile.
Robert Tracey:
June 10th, 2008 at 12:56 pm
This sounds just the ticket for my own website. Another thing I need and I have seen it done on other websites. The affiliate link is a link to a website that immediately redirects the visitor to the affiliate site. Now i would like to learn how that is done.