I should also, probably, mention that if you have a lot of affiliate links pointing to Clickbank, instead of filling up an .htaccess file with mod_rewrite rules, it may be a better idea to create a simple redirect script.
Example:
Create a file called 'go.php' or 'whatever.php'
In the file, add:
Code:
<.?php
$id = $_GET['id'];
header('Location: http://'.$id.'.hop.clickbank.net/');
?>
(I needed to add a period just after the < in the above example because it was having problems displaying. If you use the code, remove the period between < and ?php.)
Then, upload the file to your site and anytime you wish to link to a product, link to it using its clickbank name, like:
go.php?id=dating
will redirect to
dating.hop.clickbank.net
Hope that makes sense.
~ Teli