Yesterday I decided to post my first article, and this morning I had a 300 count for that post. That seemed quite odd to me, specially considering that no one knows about the blog yet.
When I looked into the Apache log files, I could see that all of the visits came from Googlebot (except for a few ones, coming from my own IP address).
So the question is: is this the expected behaviour or am I missing some special configuration in order to make Karma not to count bot hits?
I've browsed trhough serendipity_event_karma.php, and I see around line 560 an if block that seems to filter votes coming from Google:
Code: Select all
// We don't want googlebots hitting the karma-voting
if (stristr($_SERVER['HTTP_USER_AGENT'], 'google')) {
$this->karmaVote = 'invalid1';
return ;
}
Is it possible that visits are being counted unconditionally (that is, only taking into account if visit tracking is enabled and if logged in users should be counted or not)?
Thanks for any help you can provide.
--
Alex