I just tested it and it works, great stuff!
But perhaps I am missing the point of it's correct usage.
JD: I am implementing my own twist to your locker method in your other thread (Which is also fantastic). I have a WH site where I use my content locker for a certain type of content as well as some BH sites with lockers that have a different kind of content. I of course want to have it appear that my BH traffic is coming from my WH gateway.
What I did was insert the (test) modded cpa links into my BH locker. But this is where I get confused...If I click on one of the CPA links in that BH locker, I of course, get redirected to my WH site. With that being the case, instead of my BH traffic getting sent to a CPA offer page to complete an offer, they would just get sent to a different site of mine with different content and another locker on it... How am I supposed to get my BH traffic to complete any offers if they're gonna be redirected somewhere else instead of the offer pages? I know there is something blaring wrong about my thought process/angle here, but I cant seem to identify it...
I also noticed that if I switch around the last two urls in the modified links so that the referrer url is in place of the CPAurl and vice versa, that the final result would bring the locker traffic to the CPA offer page like I want, but would that defeat the purpose of the redirector?
Clearly I'm not getting something...lol
Hi,
You need to create your links like this:
(insert http where necessary, all urls should be full urls)
HandlerDomain.com/?url=TheCPAOfferLink(final destination)&referer=TheSiteWhereyouPlacedCodeandYouWanttoShowastheReferer
When you construct the links like that, what the script does is send your visitors to the url=TheCPAOfferLink(final destination), but it redirects them VIA the referer=TheSiteWhereyouPlacedCodeandYouWanttoShowastheReferer.
So, they won't "stop" on your WH locked site at all, they will get sent to the Offer, but the WH site will show up as the site it appears they "came from", and your BH site, where you placed the link, constructed as above, will not show up anywhere at all.
To recap, the CPA links in your locker, on your BH site, should be constructed like:
handlerdomain.com/?url=OfferLink&referer=WHsite
The "handlerdomain.com" is where you have placed the index.php (the first code I offered) file, and it takes care of stripping the info from your urls and redirecting the traffic.
Remember that you must place the 2nd code I offered in the WH site, for this whole thing to work.
HTH