Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion core/audits/seo/robots-txt.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ const DIRECTIVE_SAFELIST = new Set([
DIRECTIVE_ALLOW, DIRECTIVE_SITEMAP, // universally supported
'crawl-delay', // yahoo, bing, yandex
'clean-param', 'host', // yandex
'request-rate', 'visit-time', 'noindex', // not officially supported, but used in the wild
'request-rate', 'visit-time', 'noindex', 'content-signal', // not officially supported, but used in the wild
]);
const SITEMAP_VALID_PROTOCOLS = new Set(['https:', 'http:', 'ftp:']);

Expand Down
3 changes: 3 additions & 0 deletions core/test/audits/seo/robots-txt-test.js
Original file line number Diff line number Diff line change
Expand Up @@ -224,6 +224,9 @@ User-agent: NotOfficial
noindex: /bla
Visit-time: 0600-0845
Request-rate: 1/30m

User-agent: RespectfulAI
Content-Signal: ai-train=yes, search=yes, ai-input=yes
`,
},
];
Expand Down