Yes. Php redirect is easiest way to cloak affiliate links on your website. Hardly 1 line script it is.
That's the one, that's the best option! at least that's the one I've been using for a while now. PHP redirect.
I'm hiding my affiliate links using this: <a href="#" onClick=window.open("MY_AFFILIATE_LINK_HERE")>CLICK HERE</a> Code (markup): Always worked for me and my affiliate link is invisible to the user
The thing is, this link won't work if someone doesn't have javascript enabled, see http://www.jeremyreviews.com/2007/11/16/3-powerful-to-cloak-affiliate-links/ , if you are going to use this method then use the code shown on that site because it makes the link look like a non-aff link in the statusbar.
I personally like .htaccess redirects becuase it is the easiest and fastest way to make multiple redirects. Why do people prefer php over htaccess? Shoutout to this squidoo thanks it great, I didn't know the last method was looking for something like this for a different reason.
thanks. and yes, the last method is what i prefer as well. its quite easy and very handy in many cases not just to hide affiliate ids. you can manage all your redirects using this. to hide sources of your downloads for example.
I use a very simple method, and considering only a few people told you how they use the method that they do I will break it down for you. 1. I create a folder in the root of my domain named after the affiliate product i.e. wordtracker 2. I open notepad and create a file named index.php and save it to my desktop 3. Within that file I enter the following line of code: <?php header("Location: http:// "); ?> 4. Then I simply fill in the rest of my affiliate link info after the http:// and click save. 5. You can now take your favorite FTP program and upload that file into the folder you created. Presto. Easy to maintain, clean and easy to update and your links will look like this... wwwDOTyourdomainDOTcom/affiliateoffer
I think I like TheAtHomeCouple's method the best... Makes it look like it's on your site, while cloaking the link.
I have written a nice clickbank cloaking script that redirects to your affiliates landing page based on the host name. they way it works is, configure several domains or subdomains to the same directory on your server, add a line of code for each domain into my php script which tells which domains are redirected to which affiliates landing pages. Viola! You PHP'ers can figure this out based on what I just said. Anyone else, PM me and I will sell you the scipt for $2 or trade you a backlink for it. PM me.