Start with a recorded preview policy
A sitewide nosnippet header left behind after a template change can suppress previews on pages whose owners expected them to be available. Before touching the setting, agree which URLs and passages the policy covers, who owns it and who can approve a rollback. Record the current response, directives, deployment layer and a baseline of the affected pages.
If the policy is unresolved, start with whether to opt out of Google AI Overviews. Use this guide once an owner has chosen a policy or found an unintended restriction.
Google's guidance for AI features says a page must be indexed and eligible to appear with a snippet to be considered as a supporting link in AI Overviews or AI Mode. Eligibility doesn't guarantee selection. Preview controls also affect ordinary Search presentation. They don't make public content private or prevent someone accessing it. Our overview of Google AI Search explains the wider context.
Find every place a restriction can be set
Start with the URL users reach and follow its redirects. This command shows the response headers at each hop without downloading the body to your terminal. Replace the example with your own URL.
curl -sS -L -D - -o /dev/null https://example.com/page/
Check the final response for every X-Robots-Tag header, including rules targeted at Googlebot. Inspect the original HTML and rendered HTML for robots or googlebot meta tags and data-nosnippet attributes. Trace each rule to its source, such as a CMS template, plugin, application, web server or CDN. A browser or curl response may differ from what a crawler receives because of user-agent rules or caching, so compare it with Search Console's fetched page too.
In the indexed URL Inspection report, check whether Google can crawl the URL and which canonical it has selected. A duplicate or redirected URL may lead you to investigate the wrong response. Google discovers meta and header rules when it crawls a URL, so a robots.txt block can prevent it seeing a change. The crawler access guide explains how access rules differ from preview controls.
Apply the chosen scope
For a page-level text limit, put a robots meta tag in the HTML document's head. This example allows a text snippet of up to 120 characters.
<meta name="robots" content="max-snippet:120">
Google's robots specifications say the limit applies to text snippets and can limit direct input to AI Overviews and AI Mode. It doesn't set an image or video preview limit or guarantee that Google will show 120 characters. max-snippet:0 is equivalent to nosnippet, while max-snippet:-1 lets Google choose the length. nosnippet prevents a text snippet and video preview, although a static image thumbnail may still appear.
To exclude only a passage from snippets, mark it in valid HTML and leave the rest of the page available for consideration.
<p>Our public service overview is available here.
<span data-nosnippet>This passage is excluded from snippets.</span>
</p>
Google supports data-nosnippet on span, div and section elements. Close the tags correctly. The attribute is boolean, so data-nosnippet="false" still applies the restriction. To lift it, remove the attribute. Google advises against adding or removing it on existing nodes through JavaScript because extraction can happen before or after rendering.
A PDF has no HTML head for a robots meta tag. Configure its server response instead. For example, an Apache configuration scoped to one file could send this header.
<Files "guide.pdf">
Header set X-Robots-Tag "nosnippet"
</Files>
This requires the appropriate Apache header module and configuration context. Confirm the final PDF response contains X-Robots-Tag: nosnippet, and check the server's existing header configuration before deployment. Google documents headers for individual files and non-HTML resources. Avoid applying the rule to every PDF when the policy covers just one.
Google's structured data guidance says structured data inside a data-nosnippet element can remain usable for Search results. Robots meta limitations generally don't govern structured data used for rich results, with documented creative-work description exceptions. Separately licensed or otherwise specifically permitted uses can also fall outside the max-snippet limit. Review the structured fields and any agreements to check whether the passage restriction covers them.
Resolve conflicting rules and unintended restrictions
Suppose the page has max-snippet:120 in its HTML but the CDN adds X-Robots-Tag: nosnippet to every response. Google's conflict rule applies the more restrictive instruction, so the header wins. Editing the meta tag alone won't restore snippet eligibility.
Find the layer producing the unwanted header and remove or narrow the rule at its source. Preserve unrelated directives and intentional restrictions. Clear the relevant cache, inspect the final response again and sample other page types that share the configuration. Check both general and Googlebot-specific rules, multiple headers and template overrides. If Google selected a different canonical, investigate that URL and use the canonical diagnostic where needed.
A snippet restriction is only one possible issue. If the intended rules are already present, use the broader missing AI Overview citation diagnostic to continue investigating.
Test the deployed change and allow for recrawling
Compare the deployed headers, source and rendered HTML against the recorded policy. In URL Inspection, inspect the exact canonical URL in the verified property. First review the indexed result, its crawl date, Google-selected canonical and available crawled page details. Then select Test live URL and inspect the tested HTML and response information. The live test shows a fresh fetch and can differ from the indexed version. It doesn't determine Google's selected canonical or guarantee indexing or a particular snippet.
When appropriate, request indexing for the changed URL and record the request and result. Google's recrawl guidance says requests don't guarantee immediate inclusion. Its preview troubleshooting guidance notes that crawling can take days to months. Revisit the indexed result after a later crawl and inspect Search presentation over time. Even after a successful live test, Google may still need to process the change, and selection is never guaranteed.
Roll back and review the outcome
If the change has an unintended effect, restore the recorded configuration at the layer where it was changed, purge relevant caches and repeat the response and live checks. Request a recrawl where appropriate, then check the indexed version again after Google has fetched it. Keep a short record of the owner, scope, before and after rules, deployment, test results and next review date.
Use manual AI Overview citation tracking for a bounded observation after the change. Individual results vary, so a missing or newly visible citation alone doesn't establish cause. If the source of a rule crosses templates, hosting and CDN settings, an SEO implementation review can help establish the scope and test the repair.
