Zhang Fuqiang · SEO and AI search for industry websitesAbout Zhang Fuqiang ↗
张Zhang FuqiangSEO × GEO
🌐 English
Plan your website ↗
SEO × GEO · 2026-11-29

Robots.txt Disallow vs Noindex: Which One Controls Indexing?

A robots.txt Disallow rule controls crawler access. A noindex directive has to be seen in a page or HTTP response to ask Google to omit that URL from its index. If you block the crawl and hide noindex inside the page, the crawler may never read it. Decide whether the content remains live, should be excluded, or has truly been removed.

What should you inventory before changing a rule?

List the exact URLs and fetch their HTTP status. A page that remains useful to visitors but should not appear in Search can be crawlable with noindex. Content that has actually gone away should return an appropriate 404 or 410 instead of redirecting every old URL to a generic home page. Note the present Search Console state.

Why is Disallow not an indexing directive?

It prevents fetching the page and its HTML robots meta tag. Google may still learn a blocked address from links elsewhere, so blocking alone is not a reliable removal method. If the aim is to have noindex processed, confirm that robots.txt permits the URL to be crawled.

Where should the directive live?

For HTML, place a robots meta noindex in the document head. For a PDF or other non-HTML file, an X-Robots-Tag HTTP response header can carry the directive. Verify it with a request that does not depend on a login or a particular client-side interaction.

Why are the site's demos excluded?

The seven-language production articles on 1688ex.com use independent canonical URLs and indexable responses. Nine interactive `/demos/` and the old `/prototype/` are marked noindex because they illustrate page experiences rather than represent actual hospitals, law firms or vendors. Their exclusion is an intentional content boundary.

How can the fix be verified?

Fetch robots.txt, the page headers and raw HTML; log response status, X-Robots-Tag, robots meta, canonical and internal links. Use a live URL Inspection test on priority pages, then revisit the indexing report. A published noindex is not evidence that a search result disappeared immediately.

Google Search Central: block indexing with noindex

SEO method · Indexing checks