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

Escape Latin Characters
I need to escape latin characters in an xml doc. Example: "é" is escaped to "é". I thoug

Having Problem with Date
l have a submit buttom where user have the possibility to add a date to specify when his message s

How to add functionality to a simple php calender?
Hello everyone,

I have just finished creating a simple php calander. Can someone point

Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result
what is wrong with this

Code: [Select]<?php
if ($_SERVER['HTTP_REFERER'])
{

Extracting Long text from message class with parameters
Hi,

I would like to extract the long text from a message class. However, the long text ha

Problem assigning value to variable in "IF" function
Does this script makes sense? I am trying to take the value that is set to "authenticat" a

Help on query replacing the date
Hi Pals,

i want to replace the current date in a column to some value say C or D or any n

xApp Analytics in BI 7.0
Dear all,

I am trying to implement xApp Analytics in BI 7.0. After I installed the analyt

Website Direction...
I recently used this code to try and make it so the page loads as http://www.domain.com/ when you ty

mysql UPDATE request not working and driving me crazy!!!
Hi,

I have been stuck on this for ages.

Quite simply I am trying to update my database

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