Interaction design • webdevelopment • web art • photography
[php] Google hit my voting script | mados, 020327 17:47 |
---|---|
I'm using a simple one click voting script. <a href="$PHP_SELF?id=7&points=0">this sucks</a> <a href="$PHP_SELF?id=7&points=1">this rocks</a> Now I realized Google is clicking these links. This cause two problems. 1.: These clicks are counted. 2.: The voting links are available in the Google search. What are the best solutions for these problems? |
|
193.174.8.65 |
Re: [php] Google hit my voting script | karma, 020327 19:54 |
---|---|
Hehe, I'm familiar with the problem: my voting script sends out mails for each vote casted, resulting every now and then in 200 mails being sent out in 5 minutes :-) (other search engines/crawlers/... 'click' the links too btw) I've not solved it yet (except for blocking crawler ips) but I'm thinking about changing my voting script to use javascript: <a href="votepos(7);">Yay!</a> <a href="voteneg(7);">Nay!</a> + two functions votepos(id) and voteneg(id) which load the vote url don't think google will execute javascript. At least, not YET :) |
|
cisco-cache-1.kuleuven.ac.be |
Re: [php] Google hit my voting script | 23JUL, 020327 22:13 |
---|---|
<form> |
|
qn-213-73-184-251.quicknet.nl |
Re: [php] Google hit my voting script | huphtur, 020327 22:46 |
---|---|
robots.txt in yur r00t? User-agent: * Disallow: /voting |
|
216.103.149.130 |
Re: [php] Google hit my voting script | 23JUL, 020328 00:04 |
---|---|
if($_SERVER["HTTP_USER_AGENT"]=="googlebot") //? { die("Robots may not vote."); } |
|
qn-213-73-184-251.quicknet.nl |
Re: [php] Google hit my voting script | milov, 020328 06:45 |
---|---|
> Robots may not vote. That's the sort of thing that'll come back at you when the robots take over. ;) |
|
kf-nawij-tg01-0274.dial.kabelfoon.nl |
Re: [php] Google hit my voting script | Tom B., 020328 15:41 |
---|---|
Huphtur is right, you should use the robots.txt to keep the robot out os area's he shouldn't be ! |
|
u212-239-184-143.adsl.pi.be |
Re: [php] Google hit my voting script | fuckoff.com,borax,Borax, 020402 17:28 |
---|---|
Ook handig om te kijken wat je niet mag zien :) http://www.milov.nl/robots.txt |
|
toorn.si.hhs.nl |
Re: [php] Google hit my voting script | huphtur, 020402 18:21 |
---|---|
hahahah thats right nice one borax |
|
216.103.149.130 |
Re: [php] Google hit my voting script | milov, 020402 20:18 |
---|---|
grr
|
|
kf-nawij-tg01-0274.dial.kabelfoon.nl |
Re: [php] Google hit my voting script | mados, 020403 13:48 |
---|---|
javascript: I don't want any client side scripting for the voting. <input>: I don't want the ugly buttons. robots.txt: They should read the site but the shouldn't vote. (I don't know if "Disallow: /skript.php?" will work. I didn't find any description for this case.) HTTP_USER_AGENT: It's impossible to know all search engines. Up to now I'm using the following two solutions. 1.: If the HTTP_REFERER do not contain "domain.de/script.php" the voting is invalid. 2.: If the QUERY_STRING is not empty a <meta name="robots" content="noindex,nofollow"> is added. I think this will work in most cases. What do you think? |
|
193.174.8.65 |
Re: [php] Google hit my voting script | ,jfghj,hjhfj, 020618 15:22 |
---|---|
ljkhk
|
|
217.129.52.236 |
Re: [php] Google hit my voting script | roel, 020620 00:59 |
---|---|
Hmm, I'm using Nucleus too, and also have had some troubles with karma voting by crawlers. Seeing http://milov.nl/robots.txt I was wondering, if the positive-karma-voting-link points to http://www.domein.com/action.php?action=votepositive&itemid=313 , could I block it by putting a line in my robots.txt saying: Disallow: /action.php? Or would that just be plain stupid/useless? |
|
smc1cled050.bb.uvic.ca |
Re: [php] Google hit my voting script | milov, 020620 08:50 |
---|---|
Yes, that would work.
|
|
kf-nawij-tg01-0275.dial.kabelfoon.nl |
Re: [php] Google hit my voting script | roel, 020621 02:29 |
---|---|
Thanks!
|
|
smc1cled050.bb.uvic.ca |
Re: [php] Google hit my voting script | ,bobdolehotmail.com,bob, 030212 19:04 |
---|---|
Does anyone know the ips of these crawlers or any way to detect them when they are on the site. Currently my site(php) shows all users on my site by ip. Just wish i knew how to get these ips and mybe forward these bots to their own page. thanks in advance for the help
|
|
dpc6682009034.direcpc.com |
Re: [php] Google hit my voting script | 23JUL, 030212 22:25 |
---|---|
Only allow votes for which a cookie may be set (implies some kind of 'header' redirect), it may also garantuee no one is voting twice for a certain subject. |
|
f127254.upc-f.chello.nl |
Re: [php] Google hit my voting script | 23JUL, 030213 20:46 |
---|---|
>Does anyone know the ips of these crawlers or any way to detect them when they are on the site. http://www.robotstxt.org/wc/active/html/index.html |
|
f127254.upc-f.chello.nl |
Pages: 1 |
---|