OSSERVATORIO_SEO

> MODIFICA RILEVATA ·

Chiarimenti sulla gestione UTF-8 e percent-encoding in robots.txt

Il testo è stato aggiornato per specificare che i percorsi nelle regole robots.txt possono essere sia caratteri UTF-8 raw che percent-encoded. Viene chiarito che i crawler di Google confrontano le regole usando le forme percent-encoded e canonicalizzano automaticamente i percorsi UTF-8 raw. Viene anche aggiunto un riferimento a RFC 9309 Sezione 2.2.2 e un esempio pratico.

Documento:
Google robots.txt Specification
Righe:
+1 −1
Importanza:
★★★★☆
Edizione:
feed del 1 settembre 2026

Pagina originale →Versioni su Wayback Machine →

> PRIMA E DOPO

testo aggiunto testo tolto in grigio il contesto invariato

riga 287
## URL matching based on path values
 
Google uses the path value in the `allow` and `disallow` rules as a basis to determine whether or not a rule applies to a specific URL on a site. This works by comparing the rule to the path component of the URL that the crawler is trying to fetch. Non-7-bitThe ASCII characterspath in athe pathrules maycan be includedeither asraw UTF-8 characters or as percent-escapedencoded UTF-8 encodedstrings characters (per RFC 3986). As defined in RFC 9309 Section 2.2.2, Google's crawlers compare rules against URLs using their percent-encoded forms, and automatically canonicalize raw UTF-8 rule paths into percent-encoded forms. This means that, for example, `Disallow: /foo/bar/ツ` and `Disallow: /foo/bar/%E3%83%84` are treated identically by the parser.
 
Google, Bing, and other major search engines support a limited form of _wildcards_ for path values. These wildcard characters are:

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.