Been doing some research on this lately and have decided the best way to handle my affiliate links is to create a php script which I can call and then redirect to the actual affiliate link. It was said the great Matt Cutts even recommended this.
So, few questions...
- Would it be correct to use something along the lines of www.mysite.com/script.php?id=product1 which then redirects to the actual url?
- Would I use rel=nofollow on the www.mysite.com/script.php?id=product1 in my pages?
- in robots.txt would I also exclude script.php even with the nofollow or just exclude it without the nofollow?
Going a step further into the thought process what kind of security steps should be taken so the script cannot be manipulated? Simple thinking tells me if I use id=whatever that the script could not be manipulated as anything value that does not exist I could just send to the index page or something - correct?
Anyone care to share a good example I can run with or flat out use?
Tedster... you seem to be on most of the posts regarding the affiliate redirects I read... please chime in if you have the time.