Does a page in robots.txt still get indexed somehow?
- Published November 6, 2026
- Linked from 1 answer
- In a cluster of 77
Yes. A URL blocked in robots.txt can still appear in Google’s results when other pages link to it. The block stops Google from fetching the page, so Google cannot read its content or any noindex rule on it, but Google can still learn that the URL exists from links. Its guidance on blocking indexing says that when a page is blocked by robots.txt, “the crawler will never see the noindex rule, and the page can still appear in search results, for example if other pages link to it.”
What such a listing looks like
Because Google never read the page, it has no content to describe it with. The result can show the URL with little or no description, sometimes with a note that no information is available for the page. The page is known to Google only as an address and the words used in links pointing to it.
That is why robots.txt is the wrong tool for keeping a page private or out of results. It controls crawling; it does not remove a URL from Google’s knowledge, and it can leave you with the worst combination: a listing you did not want, without a description you could control. To match each tool to its job, use robots.txt block or noindex tag, which when.
How a blocked URL gets found
| Source | Example |
|---|---|
| Links on your own site | A navigation link or footer link to a blocked section |
| Links from other sites | Someone links to a blocked PDF or a staging URL |
| Your own sitemap | The blocked URL is listed for submission |
Google’s Page indexing help notes that robots.txt-blocked URLs in the report are “probably intentionally blocked”, so their presence in the report is not a fault by itself. It becomes one when a blocked URL is a page you wanted out of search.
How to keep a page out of results instead
- Remove the robots.txt rule that blocks the page.
- Add a noindex rule with a robots meta tag or an
X-Robots-TagHTTP header. - Run the live test in URL Inspection to confirm Googlebot can fetch the page and sees the noindex, then wait for Google to recrawl it. Request indexing is not the way to hurry this: Google’s URL Inspection help says indexing cannot be requested for a page the live test finds non-indexable, and a page with noindex is one. Google’s blocking guidance says a revisit can take months for some pages, which is what step 5 is for.
- If the content must not be reachable at all, put it behind a login; a noindex rule hides a page from search results, not from people who have the link.
- For an urgent case, Search Console’s Removals tool can hide a URL temporarily. Google’s Removals help says a successful request “lasts only about six months”. Pair it with noindex or removal of the page.
Add a comment