Skip to content

All checks / Technical

robots.txt contains unsupported fields

Google has clarified that fields not explicitly listed in its robots.txt documentation are not supported.

Warning robots-txt-unsupported-fields

In SEOCode's checks since 9 May 2026


Why this matters.

Google has clarified that fields not explicitly listed in its robots.txt documentation are not supported. Using unsupported fields in robots.txt will have no effect on Googlebot's crawling behavior and may cause confusion. Only use documented directives: User-agent, Allow, Disallow, Sitemap, and Crawl-delay (note: Crawl-delay is not supported by Google but is listed for reference).

Runs on .html · Warnings are reported on the pull request but do not block the merge.


How to resolve it.

Review your robots.txt file and remove any directives not listed in Google's robots.txt specification. Supported Google directives are: User-agent, Allow, Disallow, and Sitemap. Reference: https://developers.google.com/search/docs/crawling-indexing/robots/robots_txt

SEOCode writes this fix for you

On a pull request the fix arrives as a suggestion you can commit in one click, when the change is unambiguous on the line.


Where this comes from.

01

Robots Txt

developers.google.com



Every check, on every pull request.

SEOCode runs the full ruleset on each change and comments the fixes inline.

Free for public repositories · no credit card