Forum Moderators: coopster
http://www.example.com/nnnnn.asp
or some variation of the above, where
nnnnnrefers to that particular item's product ID.
what I am having to do at this moment is go in and manually change every link posted to my affiliate link.
I have all my affiliates stored in a MySQL database,
What I need is a script or something that will automatically redirect any member link that is clicked on to the affiliate link that I have stored in my database.
I guess my problem boils down to a few points..
1) Extracting the product ID from the originally posted link.
2) Inserting that number into the affiliate link,
3) redirecting/Replacing the original link with the now-updated affiliate link.
I know this is possible as I have seen it on several other sites, but I have no idea at all how to do this.
And once I have the script to do this I need to know where to put it.
Told ya I have no idea. Preschool instruction would be greatly appreciated.
[edited by: coopster at 10:25 pm (utc) on Mar. 20, 2007]
[edit reason] generalized domain [/edit]