Link Cloaking for BlogSense

adbox

Power Member
Joined
May 1, 2009
Messages
658
Reaction score
108
Hey guys,

I'm in the process of developing link cloaking for blogsense, and what I am thinking of will work like this...

original link is replaced with link like so:
http://www.domain.com/dir/ref.php?ref=uniquecode

the server script ref.php will look up the code, and then redirect to the appropriate matching url.

Is this sufficient for a basic link cloaking feature? Do you have any other advice?

adbox
 
Will this process get my users in trouble with affiliate programs?
 
blogsense has auto update capability, so if i update on my end they get updates
 
The feature was implemented, but as I'm learning a little more about cloaking I want to redirect google and yahoo search engine bots back to my homepage. To do this I need to detect the bots and there are a couple of ways to do this.

By determining if the user agent has a browser or by recognizing that the ip of the agent is a known spider ip.

The browser can be faked, and I believe google would fake a browser to get the most inormation/normalacy possible. In fact. Google probably runs spiders faking many different types of browsers.

Facebook detects browsers and redirects accordingly and other sites do too. So this is just my guess.

That being said the ip detection method looks like the best way.

Does anyone have a better answer?
Where can I find an updated ip list, anyone know?
 
Back
Top