jdleung
07-19-2006, 07:25 AM
it's annoying that search bots keep on visit your site frequently. the vistor number will increase anyway:D , but the mysql database will increase at the same time, and is full of useless info.
adding rootbot.txt in the root will stop the search bots, but also your site will not be searched by them.
can we add something before save the visitor info?
before book visitor in function.php :
if the referer host contains "google bots,spiders....", then we will not save the visitor info.
can this works?
adding rootbot.txt in the root will stop the search bots, but also your site will not be searched by them.
can we add something before save the visitor info?
before book visitor in function.php :
if the referer host contains "google bots,spiders....", then we will not save the visitor info.
can this works?