L
Luca
About one month ago I have inserted in my web site a
clickcounter who controls the access to almost every link, but this script
who changed the path in every link so the
search engines couldn't recognize my links and my web site has lost a lot in
search engines ranks;
this is the script:
<A href="http://www.mywebsite.com/cgi-bin/click/go.cgi?http://www.fiao.it"
Target="_blank">
F.I.A.O.
</A>
<p class=notasxinf>
<script
src="http://www.mywebsite.com/cgi-bin/click/stats.cgi?url=http://www.fiao.it
&type=js"> <!this script send the number to the counter>
</script>
accessi dal 13/12/2003
</p>
Last week a person said to me to insert this javascript to solve all off my
problems (I'm a javascript begginner):
<a href="http://www.fiao.it" (here I added: target="_blank")
onclick="self.location.href='http://www.mywebsite.com/cgi-bin/click/go.cgi?h
ttp://www.fiao.it'; return false">
FIAO.it </A>
and to mantein the other script:
<p class=notasxinf>
<script
src="http://www.mywebsite.com/cgi-bin/click/stats.cgi?url=http://www.fiao.it
&type=js"> <!this script send the number to the counter>
</script>
accessi dal 13/12/2003
</p>
Whith this script though I have added: target="_blank", i couldn't raise to
have the second window opened so I changed a little the javascript (I'm a
javascript begginner) in this way:
<a href="http://www.fiao.it" target="_blank"
onclick="window.open(self.location.href='http://www.mywebsite.com/cgi-bin/cl
ick/go.cgi?http://www.fiao.it'; return false)">
FIAO
</A>
at the beginning it looks to work, so I inserted it in almost all my site
(working hard during two days), but half an hour ago I have discovered it
doesn't work:
Now a new window open, but the counter does not count!!!
Every one can say to me where is the error in this last my script, or better
which script I need to use to obtain the result to count clicks, to open the
site in a new window and to left a copy of the link that could be read by
search engine (possibly without using the noscript tag)?
thanks lot to every who answer this may question
bye luca (from Italy).
clickcounter who controls the access to almost every link, but this script
who changed the path in every link so the
search engines couldn't recognize my links and my web site has lost a lot in
search engines ranks;
this is the script:
<A href="http://www.mywebsite.com/cgi-bin/click/go.cgi?http://www.fiao.it"
Target="_blank">
F.I.A.O.
</A>
<p class=notasxinf>
<script
src="http://www.mywebsite.com/cgi-bin/click/stats.cgi?url=http://www.fiao.it
&type=js"> <!this script send the number to the counter>
</script>
accessi dal 13/12/2003
</p>
Last week a person said to me to insert this javascript to solve all off my
problems (I'm a javascript begginner):
<a href="http://www.fiao.it" (here I added: target="_blank")
onclick="self.location.href='http://www.mywebsite.com/cgi-bin/click/go.cgi?h
ttp://www.fiao.it'; return false">
FIAO.it </A>
and to mantein the other script:
<p class=notasxinf>
<script
src="http://www.mywebsite.com/cgi-bin/click/stats.cgi?url=http://www.fiao.it
&type=js"> <!this script send the number to the counter>
</script>
accessi dal 13/12/2003
</p>
Whith this script though I have added: target="_blank", i couldn't raise to
have the second window opened so I changed a little the javascript (I'm a
javascript begginner) in this way:
<a href="http://www.fiao.it" target="_blank"
onclick="window.open(self.location.href='http://www.mywebsite.com/cgi-bin/cl
ick/go.cgi?http://www.fiao.it'; return false)">
FIAO
</A>
at the beginning it looks to work, so I inserted it in almost all my site
(working hard during two days), but half an hour ago I have discovered it
doesn't work:
Now a new window open, but the counter does not count!!!
Every one can say to me where is the error in this last my script, or better
which script I need to use to obtain the result to count clicks, to open the
site in a new window and to left a copy of the link that could be read by
search engine (possibly without using the noscript tag)?
thanks lot to every who answer this may question
bye luca (from Italy).