Getting found by Google · 2 min read

Robots.txt rules: how Google reads your file

Google reads robots.txt only from the top-level directory of a site, and each file covers just its own host, protocol and port, so a subdomain needs its own.

What it means for your Maryland business

Robots.txt rules are short lines in a text file at the root of your website that tell crawlers which addresses they may visit. Google follows only a few rule types, reads the file in a particular way, and reacts strongly when the file breaks. That makes it worth checking for any Maryland business whose developer has edited robots.txt, and especially for sites with separate subdomains for a shop, booking system or blog, such as a restaurant, salon, hotel or retailer with an online shop on its own subdomain.

A bed and breakfast in St. Michaels runs its main site and a separate booking site on a subdomain. The owner's developer adds rules to the main robots.txt to block the booking calendar pages, but those rules don't reach the subdomain, which needs its own file. The developer also wrote the rule with a capital letter in the folder name while the real address is lowercase, so it blocks nothing. And a crawl-delay line added years ago does nothing for Google, which doesn't support it.

Most robots.txt problems trace back to four habits: assuming one robots.txt covers every subdomain; mismatched upper and lower case in paths; relying on crawl-delay; and letting the file go missing or error out. If the file returns a not found error, Google treats the site as having no limits. If the server errors out, Google stops crawling for the first 12 hours and may then fall back to the last version it fetched successfully. Remember too that blocking a page here keeps Google from reading it, not necessarily from listing its address in results.

A quick test any owner can do: type your domain followed by /robots.txt in a browser. If it loads cleanly and reads sensibly, ask your developer to confirm each rule is still needed and spelled to match your real page addresses.

What to do this week

4 steps. Ticks are saved to Your plan on this device.

Open Your plan

01
Ask whoever runs your website to open yoursite.com/robots.txt and confirm it loads without an error.
02
Remove any crawl-delay line meant for Google, since Google ignores it.
03
Make sure each subdomain, such as a separate shop or booking site, has its own robots.txt if it needs rules.
04
Check that rule paths match the exact upper and lower case of your page addresses.

In Google's words

“Google supports the following fields (other fields such as crawl-delay aren't supported):”

Google, exact quote · How Google Interprets the robots.txt Specification · checked against this page 2026-11-28

What Google says

Google reads robots.txt only from the top-level directory of a site, and each file covers just its own host, protocol and port, so a subdomain needs its own. Google supports user-agent, allow, disallow and sitemap fields, does not support crawl-delay, ignores anything past 500 KiB, and treats rule paths as case-sensitive. When the file returns a 4xx error other than 429, Google acts as if no limits exist; when it returns a server error, Google stops crawling for the first 12 hours.

Report an error