View Single Post
  #9 (permalink)  
Old 09-11-2006, 04:05 PM
Teli's Avatar
Teli Teli is offline
5 Star Senior Member
 
Join Date: Nov 2005
Location: Florida
Posts: 385
Default

No problem Sarah, there's nothing to forgive

And yes, you're right in assuming that this could work with other affiliates as long as they use a standard link structure.

I'm not sure, but I believe CJ uses somewhat dynamic links, so it wouldn't necessarily work with them. However, Share-a-sale does and it's the same technique I use on my datafeed and SAS affiliate sites.

~ Teli "Always willing to help whenever I can" Adlam

P.S. You can also combine this with mod_rewrite to produce clean URLs, for instance /go/dating/ instead of go.php?id=dating

Code:
RewriteEngine On
RewriteBase /
RewriteRule ^go/([^/]+)/?$ /go.php?id=$1 [L]
With a little creativity, you can create a custom redirect script for each affiliate program and a custom mod_rewrite rule.
Reply With Quote