Meta Robots Tag Definition

The meta robots tag is an HTML tag placed in the <head> of a page that gives search engines instructions about that page: whether it may be indexed, whether its links should be followed, and how it may appear in search results.

It is one of the most powerful tags in SEO: a single wrong value can remove an entire website from Google, while the right value keeps low-value pages out of the results without blocking crawling.

meta robots tag definition

What Is the Meta Robots Tag?

The tag looks like this:

<meta name="robots" content="noindex, nofollow">

The name attribute says which crawlers the rule is for: robots targets all search engines, while a specific name such as googlebot targets only one. The content attribute contains one or more directives, separated by commas.

Without any meta robots tag, search engines apply the default behaviour: the page may be indexed and its links followed. Writing content="index, follow" therefore changes nothing; it is only useful for readability.

📌 In brief
Meta robots tag definition: how this HTML tag controls indexing, link following and snippets, the main directives, the X-Robots-Tag header and common mistakes.
On the menu:
  • Main Meta Robots Directives
  • How the Meta Robots Tag Works
  • The X-Robots-Tag HTTP Header
  • Why the Meta Robots Tag Matters for SEO
  • Meta Robots vs Robots.txt
By SeoYass, SEO consultant since 2010 · Updated on

Main Meta Robots Directives

Directive Effect
noindex Do not show this page in search results. See noindex.
nofollow Do not follow the links on this page. See nofollow.
none Equivalent to noindex, nofollow.
nosnippet Do not show a text snippet or video preview for this page.
max-snippet Limit the snippet to a number of characters, for example max-snippet:50.
max-image-preview Set the maximum size of image previews: none, standard or large.
max-video-preview Limit video previews to a number of seconds.
noimageindex Do not index the images on this page.
notranslate Do not offer a translation of the page in results.
unavailable_after Do not show the page after a given date and time.
indexifembedded Allow indexing of content embedded in other pages, used together with noindex.

Google’s documentation notes that the noarchive rule is no longer used by Google Search, since the cached link feature no longer exists. Other search engines may support different directives.

How the Meta Robots Tag Works

  1. Googlebot crawls the page and reads the HTML, including the head.
  2. It finds the meta robots tag and records the directives.
  3. Google’s indexing systems apply them: a page with noindex is dropped from results the next time it is crawled and processed.

The key condition is that the page must be crawlable. If the URL is blocked in robots.txt, Googlebot never reads the tag, and the noindex rule cannot be applied. A blocked URL may even remain indexed, without description, if other pages link to it.

When several rules conflict, Google applies the most restrictive one.

The X-Robots-Tag HTTP Header

The same directives can be sent in the HTTP response header instead of the HTML:

X-Robots-Tag: noindex

This is the only option for files that have no HTML head, such as PDFs, images or Word documents. It is also convenient to apply rules to many URLs at once through the server configuration. Google treats both methods the same way.

Why the Meta Robots Tag Matters for SEO

  • Index quality: keeping thank-you pages, internal search results, filters or test pages out of the index helps Google focus on pages that deserve to rank.
  • Risk control: an accidental noindex on templates or on the whole site is one of the fastest ways to lose all organic traffic.
  • Snippet control: snippet directives let you limit what is shown in results, with the trade-off that a limited snippet can reduce clicks.
  • Clean signals: combined correctly with canonical tags and sitemaps, robots rules give Google a coherent picture of your site.

Meta Robots vs Robots.txt

Question Answer
What does robots.txt control? Crawling: which URLs robots may request.
What does meta robots control? Indexing and display: what happens to a page that has been crawled.
Where is each one set? robots.txt is one file at the root of the site; meta robots is set page by page or by HTTP header.
Which one removes a page from Google? Meta robots noindex, on a page that robots can crawl.

How to Set the Meta Robots Tag in WordPress

On WordPress, the tag is usually managed by an SEO plugin. In Yoast SEO, for example, each page has an advanced setting “Allow search engines to show this page in search results?”, and global settings decide whether archives, tags or media pages are indexable. Check also the WordPress setting “Discourage search engines from indexing this site” under Settings, Reading: when ticked, it adds a noindex rule to the whole site. It is often enabled during development and forgotten at launch.

How to Check the Meta Robots Tag

  • View the source of the page and search for “robots”.
  • URL Inspection tool in Google Search Console: shows whether indexing is allowed and if a noindex was detected.
  • Page indexing report: lists URLs “Excluded by noindex tag”, which helps spot unintended cases.
  • HTTP header check: browser developer tools or an online header checker show any X-Robots-Tag.
  • SEO crawler: lists the robots rules of every page of a site.

Example: A Holiday Rental Website

A holiday rental company in Cornwall has a website with property pages, a booking engine and thousands of search result pages generated by date and guest filters. The property pages and guides should rank; the filtered search pages are near-duplicates with little value. The team adds noindex, follow to the filtered result pages, so Google can still follow links to the properties but stops showing the filtered pages in results. The property pages keep the default behaviour. After a few weeks, the Page indexing report shows the filtered pages excluded by noindex, while all property pages remain indexed.

Common Mistakes

  • Noindex left on after launch, through a CMS setting or a staging configuration.
  • Noindex combined with a robots.txt block: the rule is never seen.
  • Noindex on pages listed in the XML sitemap, which sends contradictory signals.
  • Noindex on paginated or category pages that are the only path to important products or articles, which can weaken their discovery over time.
  • Different rules in the HTML and the HTTP header, with the most restrictive one winning.

Meta Robots Tag: Key Takeaways

The meta robots tag tells search engines whether a page may be indexed, whether its links should be followed and how it may appear in results. Its main directives are noindex, nofollow and the snippet controls; the X-Robots-Tag header does the same for any file type. It only works on crawlable pages, so never combine noindex with a robots.txt block, and check your templates after every launch or redesign.

From theory to clean indexing

Knowing what the meta robots tag does is the first step. The next is checking that every template of your site sends the right rules.

  • An action plan adapted to your situation
  • Clear explanations, no needless jargon
  • Direct application to your sector
Meta RobotsDefinitionCustomers ↑
// RESULTS & REFERENCES

From diagnosis to results, step by step

Here is how I handle meta robots issues on client sites, and what my clients say about my work.

+350COMPLETED PROJECTS
+320SATISFIED CLIENTS
5.0 ★VERIFIED GOOGLE REVIEWS
+17YEARS OF EXPERIENCE
001REFERENCES / VERIFIED REVIEWS

What Is the Meta Robots Tag?

The tag looks like this:

EXPERTISEMETHODFIELD WORK
11ACTIVE PROJECTS
5.0GOOGLE RATING
READ THE REFERENCES →
002PORTFOLIO / PROJECTS

Main Meta Robots Directives

DirectiveEffectnoindexDo not show this page in search results. See noindex.nofollowDo not follow the links on this page. See nofollow.noneEquivalent to noindex,…

EXPERTISEMETHODFIELD WORK
6-12MONTHS FOR SOLID RESULTS
+350COMPLETED PROJECTS
VIEW THE PORTFOLIO →
003METHOD / EXPERTISE

How the Meta Robots Tag Works

Googlebot crawls the page and reads the HTML, including the head.It finds the meta robots tag and records the directives.Google's indexing systems apply them: a page…

EXPERTISEMETHODFIELD WORK
100%POSITIVE REVIEWS 2026
11ACTIVE PROJECTS
SEE MY SEO SERVICES →
WANT TO BE THE NEXT CASE?Tell me about your project and I will reply with a first diagnosis.
SEND A BRIEFFREE MINI-AUDIT

FAQ: Meta Robots

What is a meta robots tag?

An HTML tag in the head of a page that tells search engines whether the page may be indexed, whether its links should be followed and how it may be shown in results.

What is the default meta robots value?

Without a tag, search engines treat the page as index, follow. Writing index, follow explicitly changes nothing.

What is the difference between meta robots and X-Robots-Tag?

They accept the same directives. Meta robots is in the HTML; X-Robots-Tag is sent in the HTTP header and also works for PDFs and images.

Can I use robots.txt and noindex together?

Not on the same URL. If robots.txt blocks crawling, Google cannot see the noindex rule, so the page may remain indexed.

Does Google still support noarchive?

Google's documentation says the noarchive rule is no longer used by Google Search, because the cached link feature no longer exists.

How long does it take for noindex to work?

The page is removed after Google crawls it again and processes the rule, which can take from a few days to several weeks.

Do you want to work with me?

Please support me by sharing this content:
SeoYass, SEO consultant17+ years of SEO
Your SEO consultant
SeoYass
I am SeoYass, an SEO expert with over 17 years of experience. I have worked with small and medium-sized businesses, successfully completing more than 350 projects.Passionate about local SEO, I continue to learn and refine my strategies to deliver the best performance for my clients.
350+Projects
5.0 ★Google reviews
17+Years of experience