Warum es zählt
Robots.txt is an IETF standard, RFC 9309, that basically all major crawlers follow, and it was kept simple on purpose. Google supports only user-agent, allow, disallow and sitemap in robots.txt; it ignores other lines, such as crawl-delay or Content-Signal, so they save no crawl budget with Google but can stay for other crawlers as long as they never sit between user-agent lines (DEV-SRV-06). Google reads only the first 500 KiB of the file and generally caches it for up to 24 hours, so a change can take a day to apply. Google refreshes its cached copy every 24 hours (its service level objective, as RFC 9309 asks), and the Request a recrawl option in Search Console's robots.txt report refreshes it sooner.
So setzen Sie es um
Everything is allowed by default, so use allow only to re-open a path inside a disallowed one. Cover URL patterns with the * and $ wildcards instead of listing URLs: * matches any run of characters (Disallow: /*/live/ blocks /science/live/ and /sports/live/, and Allow: /science/live/ re-opens one of them), and $ ends the match (Disallow: / with Allow: /$ leaves only the home page open to that group). The longest matching rule wins and, when rules conflict, Google uses the least restrictive one. A crawler follows only the most specific group that names it, so give each named crawler a complete group (DEV-SRV-10). Start comments with # and spell field names exactly: said at Search Central Live, robots.txt is forgiving, Google skips a line it cannot parse and still uses the rest of the file, so a misspelt rule fails silently (Google's open-source parser happens to accept some misspellings of disallow and user-agent, but not of allow, and other crawlers may be stricter). Add the Sitemap line with an absolute URL. To slow Google down in an emergency, return 503 or 429 briefly instead of inventing directives. Plan robots.txt changes a day ahead; for an urgent change, request a recrawl in the robots.txt report. Listing the sitemap in robots.txt is fine, but it makes the sitemap public; submit it only in Search Console if that matters.
So prüfen Sie es
Check the file's fetch status, warnings and errors in Search Console's robots.txt report and test it with an RFC 9309 parser such as Google's open-source robots.txt library (github.com/google/robotstxt); check the size is well under 500 KiB; spot-check important URLs (homepage with tracking parameters, JS bundles, API endpoints, filter URLs) against the rules.
So deckt Regensbot sie ab
Entschieden aus einer URL.
Ein Audit liest die Antwort, die Header, das HTML, robots.txt, die Sitemaps und die Structured Data, und der Befund zeigt, was es gesehen hat.
Quellen
Google-Dokumente04
- 01How Google interprets the robots.txt specificationGoogle (öffnet in einem neuen Tab)
- 02robots.txt reportGoogle Search Console Help (öffnet in einem neuen Tab)
- 03Update your robots.txt fileGoogle Search Central (öffnet in einem neuen Tab)
- 04google/robotstxtGoogle (open-source robots.txt parser and matcher library, GitHub) (öffnet in einem neuen Tab)
Aussagen in der Wissensbasis20
- D1-C084QuelleHow Google interprets robots.txtGoogles Dokumentation
- D1-C085QuelleHow Google interprets robots.txtGoogles Dokumentation
- D1-C080QuelleHow Google interprets robots.txtGoogles Dokumentation
- D1-C081QuelleHow Google interprets robots.txtGoogles Dokumentation
- D1-C082QuelleHow Google interprets robots.txtGoogles Dokumentation
- D1-C108BestätigtHow Google thinks about crawl budgetAuf dem Bildschirm gezeigt
- D1-C140QuelleHow Google interprets robots.txtGoogles Dokumentation
- D3-C613BestätigtHow long does it take to..?Auf dem Bildschirm gezeigt
- D3-C614BestätigtHow long does it take to..?Auf der Bühne gesagt
- D3-C615BestätigtHow long does it take to..?Auf der Bühne gesagt
- D3-C667QuelleHow long does it take to..?Googles Dokumentation
- D1-C512BestätigtHow Google interprets robots.txtAuf der Bühne gesagt
- D1-C516GestütztHow Google interprets robots.txtAuf der Bühne gesagt
- D1-C517BestätigtHow Google interprets robots.txtAuf der Bühne gesagt
- D1-C518BestätigtHow Google interprets robots.txtAuf der Bühne gesagt
- D1-C520GestütztHow Google interprets robots.txtAuf der Bühne gesagt
- D1-C521GestütztHow Google interprets robots.txtAuf der Bühne gesagt
- D1-C525Nicht dokumentiertHow Google interprets robots.txtAuf der Bühne gesagt
- D1-C532EntfälltHow Google interprets robots.txtEinschätzung des Autors
- D1-C528BestätigtHow Google interprets robots.txtAuf der Bühne gesagt
Die Aussage-IDs verweisen auf die Wissensbasis zu Search Central Live 2026. Die Wissensbasis (öffnet in einem neuen Tab)
- Bestätigt
- Googles Dokumentation sagt dasselbe.
- Gestützt
- Googles Dokumentation stützt es, ohne es auszusprechen.
- Nicht dokumentiert
- Bei der Veranstaltung gesagt oder gezeigt, nicht in der Dokumentation.
- Quelle
- Die Aussage ist das zitierte Dokument selbst.
- Entfällt
- Nichts zu prüfen: ein Zitat, eine Einordnung, eine Meinung oder eine Analyse.