View Single Post
Old 07-01-2008, 08:12 AM   #6 (permalink)
erots
future is now
 
erots's Avatar
 
Join Date: Jan 2006
Location: Elbonia
Posts: 3,730
Points: 60
Quote:
Originally Posted by Hentaikid View Post
What I do is set up a directory called /go with a htaccess with the lines

Redirect /go/site.com http://site.com'sverylongreferralcode

then I just have to put links to mysite.com/go/site.com

not only does it hide the referral link, it's easier to remember when I want to post it somewhere as well as allowing you to change the links all at once if the sponsor goes under
Use basically the same thing but with PHP.. I just make a file mysite.php, then put it to /sites/ directory and link to it like /sites/mysite.php

The PHP file contains just a simple PHP redirect

Code:
<?php header("Location: http://www.blahblahblah.com"); ?>
But obviously it doesn't hide the link like this js thing does
__________________
Promote Sarah Palin's parody & try to make lots of cash exploiting the buzz New episode coming out soon - Obama who doesn't look like President Obama fucking Palin!
erots is offline   Reply With Quote Send a private message to erots