06.03.08
Are You A Clickbank Publisher? Read This
Since getting some good affiliates over at clickbank, I have had a few requests to make it so that the “?hop=” isn’t shown at the end of the link. Affiliates will want this to not be displayed since it shows their ID. So instead of having yourdomain.com/?hop=cbid, you want it to just be yourdomain.com.
How do you make it so that the ID isn’t shown? It’s really simple. Just make the salespage index.php, and use this code:
if(isset($_GET["hop"])){
header("HTTP/1.1 301 Moved Permanently");
header("Location: http://www.yourdomain.com/");
header("Expires: 0");
exit;
}
else{
readfile("offer.html");
exit;
}
?>
Obviously, this is just a 301 redirect that is set to happen if there is the “hop=” in the link. And offer.html will just be your normal salespage.
Although this product has nothing to do with internet marketing, no matter WHAT you sell, go ahead and do this. You’ll find that your affiliates will definitely like you for it.
Twinkle said,
September 30, 2008 at 3:29 pm
Thanks for the cool tip.
Great work.