> MODIFICA RILEVATA ·
Cambio comportamento Google su 5xx, 429 e errori DNS in robots.txt
Google ha unificato il trattamento degli errori 5xx e 429 (too many requests) nel robots.txt, specificando che dopo ~30 giorni di errori persistenti cesserà di usare la versione cached. Cruciale: gli errori DNS/networking ora comportano stop immediato del crawling SENZA fallback alla cache, a differenza di 5xx/429. Rimosso il dettaglio su 503 che causa 'frequent retrying'.
- Documento:
- Google robots.txt Specification
- Righe:
- +5 −5
- Importanza:
- ★★★★☆
- Edizione:
- feed del 3 dicembre 2026
> PRIMA E DOPO
testo aggiunto
testo tolto
in grigio il contesto invariato
riga 87
`3xx (redirection)` | Google follows at least five redirect hops as defined by RFC 1945 and then stops and treats it as a `404` for the robots.txt file. This also applies to any disallowed URLs in the redirect chain, since the crawler couldn't fetch rules due to the redirects. Google doesn't follow logical redirects in robots.txt files (frames, JavaScript, or meta refresh-type redirects).
`4xx (client errors)` | Google's crawlers treat all `4xx` errors, except `429`, as if a valid robots.txt file didn't exist. This means that Google assumes that there are no crawl restrictions. Don't use `401` and `403` status codes for limiting the crawl rate. The `4xx` status codes, except `429`, have no effect on crawl rate. Learn how to limit your crawl rate.
`5xx (server errors)` and `429 (too many requests)` | If Google findsreceives a `5xx` or `429` status code when fetching a robots.txt file but can't fetch it, Google follows this behavior:
1. For the first 12 hours, Google stops crawling the site but keeps trying to fetch the robots.txt file.
2. If Google can't fetch a new version, for theup nextto 30 days Google will useuses the last good version, while still trying to fetch a new version. A `503 (service unavailable)` error results in fairly frequent retrying. If there's no cached version available, Google assumesstops there'scrawling nothe crawl restrictionssite.
3. If the errors arepersist stillfor notan fixedextended afterperiod (about 30 days):
* If the site is generally available to Google, Google will behave as if there is no robots.txt file (but still keep checking for a new version).
* If the site has general availability problems, Google will stop crawling the site, while still periodically requesting a robots.txt file.
Other errors | AIf a robots.txt file which cannotcan't be fetched due to DNS or networking issues, (such as timeouts, invalidreset responsesconnections, reset or interrupted connections), Google generally stops crawling the site until the issue is resolved. Unlike `5xx` and HTTP chunking`429` errors, isGoogle's treatedcrawlers asgenerally don't fall back to a servercached errorcopy of the robots.txt file.
## Caching
Google generally caches the contents of a robots.txt file for up to 24 hours, but may cache it longer in situations where refreshing the cached version isn't possible (for example, due to timeouts`5xx` or `5xx429` errors). The cached response may be shared by different crawlers. Google may increase or decrease the cache lifetime based on max-age Cache-Control HTTP headers.
## File format
Il testo nel confronto è tratto da developers.google.com, pubblicato da Google in licenza CC BY 4.0, convertito in testo semplice. Il riassunto è generato con l'AI a partire dal diff e non è rivisto editorialmente.