Hello, I've been looking for what might be the best way to link to the products and services I'm trying to sell. I talk about these things alot and I want to rank (better) for the terms in Google. Sponsor A has given me an aff= number that I can attach to the product links. Sponsor B is through directtrack.

What I'm trying to figure out is would it be okay if I made some php scripts or whatever to output a 301 to the links, then put the scripts in a dir, and exclude the dir in robots.txt? Is that the best way? or is this grey/blackhat stuff to Google?

Thanks.