Which is the best way to hide affiliate links? PHP Redirection or Ridrection provided by Web Hosting's control panel.... or something else...
make /affiliate-link.html redirect to your url will htaccess, then block that page from search engine bots with robots.txt's Disallow rule.
htacess is a bit complicated isnt?? how about php redirection will that works correctly all the times>?
I wrote a simple script that uses php redirection that you manage from an admin area. The admin script itself is written in perl (I don't know PHP) & uses a flatfile database to store the links data (so you can delete them & view them). You can check out what I mean here: http://hidemyaffiliatelinks.com/demo/ I scrapped the idea last year, though, cuz my beta testers weren't getting through the semi-automated install process. I still use the script though, it's pretty simple & it works.