Google Search Console Critical 4 min read

How to Fix "Excluded by Noindex Tag" in Google Search Console

Direct Technical Answer

'Excluded by noindex tag' means Googlebot crawled the URL and found either a <meta name="robots" content="noindex"> tag in HTML or an HTTP X-Robots-Tag: noindex response header—instructing Google to drop the URL from search results completely.

Why Does This Issue Occur? (Symptom & Cause Matrix)

Observed SymptomRoot Technical CauseRecommended Fix
Entire site missing from GoogleWordPress 'Discourage search engines' checked or staging headerUncheck privacy setting / remove X-Robots-Tag header on production
Specific Next.js page excludedrobots: { index: false } inherited from layoutSet robots: { index: true, follow: true } in Metadata

Step-by-Step Fix Checklist

  1. 1

    Inspect Live HTML & HTTP Response Headers

    Run curl -I https://yourdomain.com/page and check for X-Robots-Tag: noindex as well as HTML <meta name="robots">.

  2. 2

    Audit Hosting / Vercel Preview Headers

    Ensure custom domains do not serve preview/staging header rules.

  3. 3

    Re-Submit via URL Inspection & IndexNow

    Once index, follow is restored, trigger Inspect URL → Request Indexing in GSC.

Enable Indexing in Next.js App Router Metadata

export const metadata: Metadata = {
  robots: {
    index: true,
    follow: true,
    googleBot: { index: true, follow: true, "max-snippet": -1 },
  },
};

People Also Ask About This Error

Should /login or /admin pages have noindex?

Internal private portals can use noindex, whereas public landing pages, tools, and guides must always allow indexing.

Can X-Robots-Tag override HTML meta tags?

Yes—if either the HTTP header OR the HTML tag says noindex, Google respects the more restrictive directive.

More Search Console & Performance Fix Guides

24/7 Autonomous Technical SEO Engine

Stop auditing spreadsheets. Let ApexSEO ship fixes 24/7.

Connect your domain via Hostinger FTP, GitHub, or our 1KB cookieless telemetry beacon to automate PageRank internal linking, AI FAQPage schema, and live Google SERP tracking up to 12,000 pages.