GEO-017 · Snippet restrictions do not conflict with an AI-search inclusion policy
nosnippet and max-snippet:0 limit how content can be shown in search features, including AI features. That contradicts a declared policy of allowing AI search.
- Evidence class
- E1
- Weight
- 2
- Subject
- each route group
- Scope
- URL/repo
- Default severity
- medium
- Lifecycle
- stable
- Platforms
- Any web stack
Sub-checks
A subject fails if any evaluated sub-check fails, and passes only when every applicable sub-check ran and passed. url sub-checks need a URL; both can also run from source.
| Sub-check | Scope | Checks that |
|---|---|---|
snippet_meta | both | no nosnippet or max-snippet:0 in robots metadata |
snippet_header | both | no nosnippet or max-snippet:0 in X-Robots-Tag (from source: no middleware or headers() that could set it) |
Preconditions
- policy.aiSearchCrawlers is allow; otherwise not applicable
Remediation
Remove page-wide nosnippet / max-snippet:0, or change the declared policy if exclusion is intended.
Fix class: contextual
Known false positives
- data-nosnippet on specific elements is not flagged; it is a scoped choice.
Evidence
Platform policies and standards are cited as such; anything else is labelled guidance. These links were carried forward from the specification and should be rechecked before quoting them as current policy.
- Google: AI features and your website (platform-policy)
- Google: control your snippets (guidance)
- Google: robots meta tag and X-Robots-Tag (platform-policy)
Run it
npx geopilot explain GEO-017
npx geopilot scan . --rule GEO-017