robots.txt returns a 4xx status
- What the RFC says
- "the crawler MAY access any resources on the server"
What web scraping is, what robots.txt (RFC 9309) does and doesn't cover, and the controls a site owner actually has over automated collection.
Web scraping is the automated collection of content or data from web pages for use elsewhere. robots.txt, standardized as RFC 9309, lets site owners say which paths crawlers may access, but the RFC states that its rules are not a form of access authorization. Compliance is up to the scraper, so it is a request, not a lock.
Four quick questions, then a straight answer.
From your answers, this is quietly costing you traffic and nobody has the hours to chase it. Scaplet finds every affected page, drafts the fixes and tracks how AI answers mention you.
A data platform shipped 46 fixes without a ticket.
This looks handled. Re-check after a redesign, a migration or a big content push; that is when it breaks.
Your site is small and you have the time. Work through the steps on this page, starting with the pages that get the most traffic.
OWASP notes that some scraping may use fake or compromised accounts, or the information may be accessible without authentication. A scraper reads accessible paths and pulls data out of the responses, and it can run continuously or periodically.
Scraping and crawling overlap, since both fetch pages automatically. RFC 9309 is written for automatic clients "known as crawlers." It does not use the word scraper.
User-agent line and follow with Allow and Disallow rules for paths.Google's documentation adds scope. The file must sit at the root of the host it applies to, applies only to that protocol, host and port, and must be a UTF-8 text file.
User-agent: ExampleScraper
Disallow: /
User-agent: *
Disallow: /account/Those are obligations for crawlers that follow the standard. A scraper that ignores robots.txt isn't bound by them in any technical sense.
robots.txtnoindex or a passwordnoindex or password-protect the pageGoogle also warns that a page disallowed in robots.txt can still be indexed if other sites link to it, so the URL can appear in results. Blocking fetching doesn't hide the address.
The sources used here don't cover rate limiting, bot detection or legal remedies, so this page makes no claim about them. Check with your hosting provider and a lawyer for those.
Google's spam policies define scraping as "taking content from other sites, often through automated means, and hosting it with the purpose of manipulating search rankings." The listed examples include republishing content without adding original value, and copying content and modifying it only slightly, for example by substituting synonyms.
That is a different question from whether collecting data is allowed. Reading public pages for analysis is scraping in OWASP's sense. Republishing them to rank is what Google's policy targets.
4 questions people ask next, answered from the sources on this page.
OWASP defines it as collecting application content and other data for use elsewhere. A scraper requests accessible pages or endpoints and extracts data from the responses, either continuously or periodically.
Only those that choose to obey it. RFC 9309 says its rules are not a form of access authorization.
No. Google says robots.txt is not a mechanism for keeping a page out of Google, and a disallowed page can still be indexed if other sites link to it.
Only when the content is hosted to manipulate rankings, such as republishing it without original value. Google's policy defines scraping in that sense.
The free audit reads robots.txt, sitemaps, status codes, canonicals, redirects and structured data.