For Clickbank, I made an affiliates.domain.com page and for .htaccess I got
Options +Indexes
Options +FollowSymlinks
RewriteEngine on
RewriteBase /
RewriteRule ([0-9a-zA-Z]+)$ http://$1.MYID.hop.clickbank.net [R=301,L]
so then the affiliates can link to
affiliates.domain.com/affiliateid
and then get redirected to Clickbanks URL, to help keep spyware out. That code will cover all affiliates.
([0-9a-zA-Z]+) will allow you to still have an index page talking about the affiliate program, since it has a period in the URL, while affiliate IDs are only letters and numbers, so that code won't mess with the index page or any URL that has something that's not a period or number.
__________________
.
|