
Besides robots.txt and noindex, Google reads a family of page-level rules that adjust how a page is shown in results. They sit in a meta tag in the page head or in an X-Robots-Tag HTTP header, and they only work if crawlers are allowed to reach the page.
Where the rules go
A robots meta tag in the head of an HTML page applies to all search crawlers. Naming a specific crawler, such as googlebot or googlebot-news, narrows it. Both the name and content values are case-insensitive. On WordPress or similar systems, a search-engine settings page or SEO plugin usually writes the tag for you.
Rules worth knowing
The nosnippet rule stops a text snippet or video preview from showing; a static thumbnail may still appear. The max-snippet rule sets a character limit for the text snippet. The notranslate rule stops Google offering a translated title link and snippet. The unavailable_after rule removes a page from results after a date and time you specify, which suits an expired offer.
Text-level control
The data-nosnippet attribute on an HTML element keeps that block of text out of snippets while the rest of the page stays eligible.
When rules conflict
The more restrictive rule applies. A page with both max-snippet:50 and nosnippet gets no snippet at all.
Check before relying on it
View the page source or use URL Inspection to confirm the rule is present, and make sure robots.txt is not blocking the page, because a blocked page never has its rules read.
Source: https://developers.google.com/search/docs/crawling-indexing/robots-meta-tag. This article combines the linked guidance with editorial workflow advice; it is not a certification or a promise of business results.
Explore the Pixeleator portfolio or discuss your website project.