# Block specific directories User-agent: * Disallow: /cgi-bin/ Disallow: /tmp/ Disallow: /private/ # Allow all robots complete access to other parts of the site Allow: / # Specific rules for Googlebot User-agent: Googlebot Disallow: /no-google/ # Allow access to the Google Analytics script explicitly (optional) User-agent: * Allow: /path-to-google-analytics-script/