Google supports robots directives in an HTML meta tag and in the HTTP X-Robots-Tag header. Meta tags belong in HTML head content; X-Robots-Tag is especially useful for non-HTML files such as PDFs. Google also warns that a crawler must be able to access a URL to see these directives and generally follows the more restrictive instruction when rules conflict. A robots.txt block can therefore prevent a noindex directive from being read.
VISUAL LESSON
What you will learn
- 01Choose meta or X-Robots-Tag for each resource.
- 02Diagnose access and directive conflicts.
- 03Verify response, rendering, and index state.

ILLUSTRATIVE WORKED EXAMPLE
Triage an illustrative indexing-control inventory
PRACTICAL INTERFACE MAP
Trace indexing control from policy to verification
For each URL pattern, choose index, noindex, snippet or preview limits, owning template or server rule, and exception process.
Check final status, redirects, robots meta tags, X-Robots-Tag values, user-agent scope, canonical, and robots.txt access.
Use URL inspection and rendered-source evidence where applicable, request recrawl after correction, and monitor until the observed state agrees.
STEP-BY-STEP LESSON
Resource type → directive layer → crawl access → index verification
THE LEAD ATLAS METHOD
Lead Atlas Data can research contacts for a campaign's business categories, market, and locations while the site's organic team keeps public resource indexing and contact-research operations as clearly separated systems.See how custom list research works ↗Write the indexing policy
Inventory public HTML, PDFs, images, feeds, exports, faceted URLs, staging artifacts, and other resource types. Assign the intended search state, rationale, owner, implementation layer, review date, and exceptions for each URL pattern.
Do not use noindex as an access-control mechanism. Sensitive or private content needs authentication or removal; a robots directive asks compliant crawlers how to handle content after access.
Choose the correct directive layer
Place a robots meta tag in the HTML head when the template controls an HTML page. Use the X-Robots-Tag HTTP response header when server or CDN rules control the resource, especially for non-HTML files such as PDFs.
Scope user-agent-specific rules only when required and document default behavior. Keep directives lowercase or otherwise within supported syntax, and avoid duplicate template, framework, CDN, and server rules that silently disagree.
Make the directive discoverable
Confirm that the intended crawler can fetch the URL and follow the redirect chain to the final response. Google explains that a URL blocked by robots.txt may prevent its crawler from seeing a noindex meta tag or header.
Check final status code, robots.txt rules, authentication, firewall, CDN challenge, rate limit, redirect target, canonical, and rendered HTML. Choose removal, noindex, or crawl blocking for its actual job rather than stacking all three.
Resolve conflicting directives
Inspect raw HTML head and every X-Robots-Tag response value, including CDN and origin responses. Google generally combines rules and uses the more restrictive instruction when directives conflict, so an unnoticed noindex can override an index intention.
Test representative URLs from each pattern plus exceptions. Record response headers, rendered head, user agent, environment, timestamp, canonical, and effective decision in a repeatable QA sheet.
Verify the observed index state
Use the appropriate search-console inspection tools to compare the indexed view with a live test, then request recrawl after a correction when suitable. Allow time for recrawling and keep sitemap, internal links, canonical, and directive policy consistent.
Deliverable: URL-pattern inventory, indexing policy, meta/header decision matrix, server and template ownership, robots.txt access test, redirect trace, raw header capture, rendered-head capture, conflict register, representative URL test, recrawl request, monitoring log, and rollback instruction.
THE TAKEAWAY
Use meta for HTML, X-Robots-Tag for headers and non-HTML files, avoid blocking the URL before noindex is processed, eliminate conflicting layers, and verify both the response and search-engine interpretation.OFFICIAL REFERENCES