Everybody want to know when Googlebot has visited to your site?
I use little piece of script that shows when Googlebot comes around my site to visit by sending an email to me.
<?php
if ( strpos( $_SERVER['HTTP_USER_AGENT'], ‘Googlebot’ ) !== false )
{
// The email address we want to send the email to
$email_address = ‘youremail@email.com’;
// Send the email
mail($email_address,’Googlebot Visit’, ‘Googlebot has visited yoursite.com: ‘.$_SERVER['REQUEST_URI']);
}
?>
Anyway, for all of those who don’t aware of this yet, this is the one I use. Just put it in your header, footer or anywhere.
