Forum Moderators: DixonJones

Message Too Old, No Replies

Outbound links redirect

         

perfectlover

6:52 pm on Jun 1, 2005 (gmt 0)

10+ Year Member



Hello
Will i be banned from google using redirect script for outbound links like this

href="http://www.yoursite.org/cgi-bin/redirect.cgi?http://www.anothersite.org"

(302 redirect). I would like to do this to count clicks.
Thanks

4specs

3:07 am on Jun 2, 2005 (gmt 0)

10+ Year Member



Should not be banned. You do want to put the script and cgi-bin in the robots.txt file as Disallowed to protect the integrity of the clickthroughs.

There is a better way - one that google uses. Do a search on google for onmousedown tracking.

onmousedown="return click(this.href)"

function click(n)
{ if(document.images){ (new Image()).src="/cgi-bin/script.cgi?"+n; } return true;}

to pass the query to the script

ken_b

3:29 am on Jun 2, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



You might want to read some recent threads here about 302 Redirects [google.com].

It seems like they haven't worked out too well for a lot of webmasters on the recieving end of the deal.