Skip to main content
WordPress fix guide

X-Robots-Tag Header Contains Noindex on Primary URL on WordPress

The primary URL returns an X-Robots-Tag HTTP header with a noindex directive. This tells search engines not to index the page, even if the HTML meta robots tag allows indexing.

Issue ID: CRAWL-XROBOTS-NOINDEX-001Severity: criticalEffort: S

Why this matters

The primary URL returns an X-Robots-Tag HTTP header with a noindex directive. This tells search engines not to index the page, even if the HTML meta robots tag allows indexing. This affects how clearly search engines understand the page and how persuasive it looks in search results.

WordPress fix path

How to fix this on WordPress

Check robots, sitemap, and noindex settings in your SEO stack.

  1. 1Inspect Yoast or Rank Math indexing settings.
  2. 2Confirm the page is indexable and the sitemap is enabled.
  3. 3Resubmit the sitemap in Search Console if needed.

After you fix it

  • Use curl -I to inspect response headers and confirm X-Robots-Tag no longer contains noindex

See every WordPress issue on your site

This is one issue of many the full audit checks. Run a free scan to see what else might be holding your site back.

Run Free Audit