← Glossary

Technical SEO

X-Robots-Tag

Definition

X-Robots-Tag is an HTTP response header that provides granular instructions to search engine crawlers about how to handle specific web resources during the indexing process.

Explained

X-Robots-Tag is an HTTP response header that provides granular instructions to search engine crawlers about how to handle specific web resources during the indexing process. Unlike robots meta tags, it operates at the server level and can be applied to any file type, including PDFs, images, videos, XML files, and dynamic content.

Core Directives

  • Indexing control: noindex, index
  • Link following: follow, nofollow
  • SERP presentation: nosnippet, noarchive, notranslate
  • Media-specific: noimageindex, novideoindex
  • Timing: unavailable_after
  • Bot-specific: googlebot:, bingbot:

Why It Matters

It helps optimize crawl budget, control how multi-format content appears in search results, manage dynamically generated pages, and protect competitive intelligence by preventing sensitive or low-value content from being indexed or cached.

Implementation Notes

Directives are sent in HTTP headers before content is delivered to crawlers. They can be configured in Apache (.htaccess), Nginx (server block), or at the CDN edge. Best practices include auditing all content types, testing headers across formats, avoiding conflicting directives with meta robots tags, and maintaining follow directives to preserve link equity.

Example

E-commerce platforms use X-Robots-Tag: noindex on dynamically generated filter pages to prevent duplicate content from being indexed.