
Many individuals work for hours and hours, days and days to ensure the Website online they’ve is prepared for Google and it is Googlebot each time it’d come for a go to.
The issue most folk run into although is how are you aware it’s there? Some discussion board and running a blog scripts include higher methods to trace bots as they comb by means of your pages. What about everybody else although? Properly that is the place these scripts are available in. All you want is to have the ability to parse PHP by means of your Website online and you can also monitor the Googlebot even higher.
I’m not completely certain who wrote these PHP scripts up first, however I’ve not seen it talked about many locations in any respect Free. Hopefully this may a helpful instrument so that you can use.
Straightforward Model
With this model of the script it is advisable to exchange the “yourdomainname.com” with your individual area title and exchange “[email protected]” along with your E-mail tackle.
if Watch(eregi(“googlebot”,$HTTP_USER_AGENT))
{
mail(“[email protected]”, “Googlebot detected
on yourdomainname.com”, “Google has crawled
yourdomainname.com”);
}
?>
Professional Model
if(eregi(“googlebot”,$HTTP_USER_AGENT))
{
if ($QUERY_STRING != “”)
{$url = “http://”.$SERVER_NAME.$PHP_SELF.’?’.$QUERY_STRING;} 2023
else
{$url = “http://”.$SERVER_NAME.$PHP_SELF;}
$right now = date(“F j, Y, g:i a”);
mail(“[email protected]”, “Googlebot detected
on http://$SERVER_NAME”, “$right now – Google
crawled $url”);
}
?>
Hopefully this can be of some use to folks engaged on their Websites who wish to hold a greater eye on the place the Version Googlebot is taking a look at.
Go to Authors Web site
Leave a Reply