Hello all, I run a credit card, loan and insurance website and im looking to do a PHP redirect system on mysite. Currently the links to the credit card offer look very "affiliate" as they go through http://CardOffers.Com/manage/track/e?=(insert random numbers) I would like to have the links on my site go to a page on my server like /GetApp.php?Id=(insert id #) and that page will have a redirect based on the cards id which is stored in a database. My question is, will that affect tracking of clicks and sales?
Thats what I think too, anymore opinions? Also, would anyone be willing to show me how they use htaccess for CJ URLS?
Why not a header redirect? It shouldn't affect the tracking of clicks and sales but your users will still see the target url in the adress bar... you can also try a javascript location.href redirect or the meta refresh tag... or you can use frames... i think these are all the options...
Thats what im using for the Credit Cards, a header redirect, I decided to use PHP Get to grab the CardID passed along and it redirects to the URL in the DB for that specific CardID. I need for CJ links, and im not sure how to accomplish that with 60+ unique CJ links..
don't use htaccess for CJ urls. in your htaccess file create a rewrite that will point to your php script and pass parameters, that way when you add a new sponsor / change a url you just need to modify your php file and not your htaccess
motheninja, I think im doing what your talking about...Not sure though... take a look at - http://getcredit365.com/services/loans/personal.html on the right side at the Discover card ad, you can see in the Status bar that the URL looks like this: http://getcredit365.com/offer/CJ URL HERE/ Code (markup): and thats a mod_rewrite URL of http://getcredit365.com/getoffer.php?link=CJ URL HERE/ Code (markup): and the PHP simply gets the URL after the link= and redirects that via PHP header.... Its closer to what I wanted, as its an "on site" link, but I was hoping I could almost - completely - mask the those links without having to add them 1 by 1 to htaccess, or some other file as I saw demonstrated in another thread. Am I SOL? Also, it gets hard to implement my above code because when I use CJ's Smartzone, which essentially rotates ads, it runs on JavaScript and I dont have a way to put http://getcredit365.com/offer/ in front of the offer URL