1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Get Notified When Google Crawls Your Site (Great For New Sites)

Discussion in 'Black Hat SEO Tools' started by blackhatcodex, Sep 27, 2011.

  1. blackhatcodex

    blackhatcodex BANNED BANNED

    Joined:
    Aug 28, 2011
    Messages:
    144
    Likes Received:
    248
    Have you ever wanted to know the moment that Google crawls your site for the first time? Now you can! Just insert this little script into your site (the script is in PHP).

    PHP:
    <?php if ( strpos$_SERVER['HTTP_USER_AGENT'], 'Googlebot' ) !== false )
    {
        
    // The email address we want to send the email to
        
    $email_address 'MyName@MyDomain.com';

        
    mail($emai_address,'Google bot','Your website was hit by google now.',
             
    'from@MyDomain.com');
    ?>
     
    • Thanks Thanks x 1