- Impact
- 18
Hey there,
This is more along the lines of sorting through something that another person has coded, but it seems like this would be the best fit forum-wise.
So, imagine I'm visiting website that has outgoing affiliate links on it. Those links are actually formatted to point to the site itself (example.com/out/123), but those URLS then redirect to the affiliate link (myaffiliate/offers/123). After that, the affiliate link redirects to the final address (buymystuff.com).
Normally, this process goes at a fast enough speed that you can't find out the middle URL (the affiliate one). I'm trying to understand how you can detect URLs at every step in this process, to be able to figure out the affiliate link being used, and therefore the network that is involved in this offer.
How can I accomplish this? Thanks for the input.
This is more along the lines of sorting through something that another person has coded, but it seems like this would be the best fit forum-wise.
So, imagine I'm visiting website that has outgoing affiliate links on it. Those links are actually formatted to point to the site itself (example.com/out/123), but those URLS then redirect to the affiliate link (myaffiliate/offers/123). After that, the affiliate link redirects to the final address (buymystuff.com).
Normally, this process goes at a fast enough speed that you can't find out the middle URL (the affiliate one). I'm trying to understand how you can detect URLs at every step in this process, to be able to figure out the affiliate link being used, and therefore the network that is involved in this offer.
How can I accomplish this? Thanks for the input.