Click counter to ignore traffic from search bots


Posted on 16th Feb 2014 07:03 pm by admin

I have a click counter on my site that...well, counts the number of clicks a link gets on the frontpage. It's a good system, but it's got a few flaws, an example being that it counts "clicks" from search engines and crawlers. Since the most common of these is Google, I'd like to start by ignoring clicks from Googlebot. I still want to redirect the bot like normal, I just don't want to count it's access of the click counter URL. How could I go about doing that? I'm having a hard time figuring out what Useragent or IP range Google uses.

No comments posted yet

Your Answer:

Login to answer
140 Like 35 Dislike
Previous forums Next forums
Other forums

help with php
It's not displaying or pulling anything out of the database.


Code: <html><

Transform value 0 in no and 1 in yes help needed
Hello,
I have this in the table: "value" type int 0 to represent false and 1 to represe

j1inmis Ouput layout changes
Hi,

Can anybody tell how can j1inmis output layout can be changed so that vendor names ge

Hit counter updating once per IP - IP HIT COUNTER
I have a hit counter, for the amount of views on a tutorial.
It'll do the query and then do..

Dynamic Data + Sql Server 2005 Enterprise?
Hi! I have just started to learn ASP.NET, and it looks like it is quite a lot to learn. Im not reall

Using system() and bringing back the results
I am aware that you can use system() within PHP to execute system commands, but I was wondering if t

First root of a number
Hi,

I can't find any function in php to give me the first root of a number.
Is there any

Socket Server Response Headers
Earlier I had a post about my Socket Server, I wasn't able to get it to connect, now I can

I

help me fix these syntax errors...
I keep getting multiple syntax errors on this script like this one:

Parse error: syntax error

php global variable
how can we create global variable so we can use its value in any form.. Please give example to

Sign up to write
Sign up now if you have flare of writing..
Login   |   Register
Follow Us
Indyaspeak @ Facebook Indyaspeak @ Twitter Indyaspeak @ Pinterest RSS



Play Free Quiz and Win Cash