Skip to content
View in the app

A better way to browse. Learn more.

Web Designer Forum

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Google bot last crawl checker

Featured Replies

I'm looking to add some simple tools to my website to help people with their SEO. Simple things such as PR checker.

 

One I'm looking to add is a simple tool to check when Google last crawled a specific website. I've seen them all over but nothing about how they work.

 

Anyone have any idea?

It always strikes me as being odd that Google analytics does not have a subsection for showing detailed stats of their crawler activity because what little info one does get from the webmaster tools section might as well be written in crayon.

 

<?php
$u_agent=$_SERVER['HTTP_USER_AGENT'];

if (eregi("Googlebot", $u_agent)) {
  //// do something.. append a text file or Insert a row to a datbase
  //// IP logging also useful if site scrapers masquerading as search bots
}

?>

 

Googlebot also comes in several flavours there is the basic one

Mozilla/5.0 (compatible; Googlebot/2.1; but has variations such

as Mobile, News, Video and Images http://support.google.com/webmasters/bin/answer.py?hl=en&answer=1061943

Edited by Sogo7

Create an account or sign in to comment

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.