Robots.txt vs Noindex: Which One Should You Use?
The robots txt noindex choice is simple once you know the order. Robots.txt controls crawling, noindex controls appearing in results, and Google says robots.txt "is not a mechanism for keeping a web page out of Google". Seed Light uses noindex for pages that must stay out.

You blocked a page in robots.txt last month. It is still in Google, sitting there with no description under it.
Nothing is broken. The file never did the job you asked it to, and Google's documentation says so in a sentence most people never read.
The noindex vs robots.txt confusion is probably the most expensive misunderstanding in small business SEO, because the fix looks like it worked for weeks before anyone checks.
This guide covers what each of the two controls, why combining them backfires, which pages belong in which, and how to keep something out of Google properly.
Key Takeaways
- Robots.txt controls crawling, not appearing. Google calls it "not a mechanism for keeping a web page out of Google".
- A blocked URL can still rank. Google says it might find and index a disallowed URL if other pages link to it.
- Blocking cancels your noindex. For a noindex rule to work, the page must not be blocked, or the crawler never sees the rule.
- noindex in robots.txt does nothing. Google states that the noindex rule in robots.txt is not supported.
- The file lives at the root. A file in a folder is not valid, and Google enforces a 500 kibibyte size limit.
What Robots.txt and Noindex Each Control
They answer different questions, and the confusion between them causes most of the trouble here. Both are plain text instructions to a crawler. That is why they get treated as interchangeable.
Robots.txt answers may you fetch this. Google describes it as telling crawlers which URLs they can access, used mainly to avoid overloading a site with requests.
Note what that purpose is. The file was built to protect your server from traffic, not to protect your content from being listed.
Noindex answers may you show this. It is a rule on the page itself, read only after the page has been fetched.
That ordering is the whole subject. A rule written inside a page is useless to anything that was told not to open the page.
Keep that sentence in mind and the robots txt noindex problem stops being confusing. Everything below follows from the order the two are read in.
So the robots txt noindex question is really a sequencing question. One happens before the page is read, the other is written inside it.

Why a Blocked Page Still Appears in Search
This is the part that surprises people, and Google is direct about it.
A page blocked with robots.txt can still have its URL appear in search results. Google says it might still find and index a disallowed URL if it is linked from other places on the web.
The result usually looks half finished, because Google has the address but was never allowed to read the content. That is why there is no description under it.
It can sit there indefinitely. Nothing expires it, because from Google's side nothing about the page has changed since the day it was first linked to.
Removing the link elsewhere does not help either. Once the address is known it stays known, and the only instruction that changes the outcome is one on the page.
Google's own instruction in that documentation is to use another method such as password protection or noindex. The noindex vs robots.txt argument is settled in Google's docs, not in opinion.
Worth knowing too: compliance is voluntary. Google says the instructions cannot enforce crawler behaviour, and that it is up to the crawler to obey them.

How to Keep a Page Out of Google
Four steps, and the third is the one that catches almost everybody. None of them takes longer than a few minutes once the decision is made.
1. Decide what you actually want
Keep it off Google entirely, or keep crawlers from fetching it repeatedly. Those are different goals and they take different tools.
A third goal hides underneath both. That goal is genuine privacy. Neither file provides that, and treating either as though it does is how internal documents end up public.
The pages that usually belong out of results are these.
- Thank you and confirmation pages. They make no sense to a stranger arriving cold from a search.
- Staging or development copies. Duplicate content competing with the site you actually sell from.
- Internal search result pages. Endless thin pages generated by whatever visitors happened to type.
- Cart, account and checkout pages. Useless as a search result and occasionally revealing.
- Tag archives nobody reads. Usually created automatically and left on by default.
Write the list down before touching any file. Half the mistakes here come from reaching for a tool before naming the outcome.
It is a short list for most sites. Five or six URLs covers a typical small business, and the rest of the site wants to be found.

2. Put the noindex on the page
Add a robots meta tag in the head of the page, or send an X-Robots-Tag header for files that have no head, such as a PDF.
Keep the robots txt noindex pairing out of it entirely at this stage. One instruction, in one place, is the whole method.
How to noindex a page is genuinely this short. One line, on the page you want excluded, and no change to any other file.
On WordPress an SEO plugin exposes this as a switch per page. On a hand built site it is a line in the template. Either way it ends up in the same place in the delivered HTML.
Check the delivered page rather than the setting screen. A plugin toggle that did not save looks identical to one that did, right up until you read the source.
The X-Robots-Tag noindex header sends the same instruction in the response rather than the document. That is what you need for anything that is not an HTML page.

3. Leave the page crawlable
This is the step that undoes the other three. Google states that for the noindex rule to be effective, the page must not be blocked by a robots.txt file.
If it is blocked, the crawler never sees the noindex rule, and the page can still appear in results, for example if other pages link to it.
So remove the robots.txt disallow on anything you have noindexed. The two together are not belt and braces, they cancel out.

4. Check it with the inspection tool
Use Search Console's URL inspection rather than searching for yourself. It reports what Google did with the page. That is the only answer that counts.
Searching for your own page proves very little either way, because what you see is shaped by your location and your history.
Give it time. A noindex takes effect when the page is next crawled, so the change is not instant.
A week is normal for a page Google visits often, and longer for one it rarely touches. Resubmitting repeatedly does not speed it up.
If it is urgent, the removals tool in Search Console hides a result temporarily while the noindex does the permanent work. Treat it as a stopgap rather than the fix.

Which to Use, and When
| You want to | Use | Why |
|---|---|---|
| Keep a page out of results | noindex on the page | Robots.txt does not remove anything |
| Stop a crawler wasting requests | robots.txt disallow | This is what the file is for |
| Exclude a PDF or image | X-Robots-Tag noindex | No head tag to put a meta in |
| Hide something genuinely private | Password protection | Neither file makes anything secret |
That last row matters. A robots.txt disallow is a public list of the paths you would rather people did not visit.
Anyone can open yours right now by adding the filename to your domain, and competitors occasionally do exactly that to see what you are building.
If a path would embarrass you in public, listing it in robots.txt is the opposite of hiding it. Password protect it or take it offline.

Common Robots.txt and Noindex Mistakes
- Using a block to remove a page. Google's own documentation says the file is not a mechanism for keeping a page out of Google.
- Writing noindex inside robots.txt. Google does not support it there, so the line does nothing while looking like it did something.
- Applying both to the same page. The block hides the noindex, and the page stays eligible for results.
- Putting the file in a folder. It must sit at the root of the host. A file at example.com/folder/robots.txt is not valid.
- Using crawl-delay and expecting Google to obey. Google supports user-agent, allow, disallow and sitemap, and ignores the rest.
- Treating a disallow as privacy. The file is public, and listing a path advertises it.
- Leaving a staging block live after launch. The robots txt noindex pair copied from a development site keeps the real one out of results for weeks.

FAQs
What is the difference between robots.txt and noindex?
Robots.txt asks crawlers not to fetch a URL. Noindex tells Google not to show a page in results. Google states plainly that robots.txt is not a mechanism for keeping a web page out of Google, because a blocked URL can still appear if other sites link to it.
Why is my blocked page still showing in Google?
Because blocking is not removal. Google says a page blocked by robots.txt can still appear in search results, and that it might find and index a disallowed URL if it is linked from elsewhere. The listing usually appears without a description, since Google never read the page.
Can I put noindex in my robots.txt file?
No. Google states that specifying the noindex rule in the robots.txt file is not supported. Lines like that do nothing at all, which is worse than doing nothing, because the page looks handled on your side while remaining fully eligible for results.
How do I keep a page out of Google properly?
Put a noindex rule on the page itself, as a meta tag or an X-Robots-Tag header, and leave the URL crawlable so Google can read it. Google's own instruction is to use another method such as password protection or noindex rather than robots.txt.
Where must the robots.txt file live?
At the root of the host it applies to. Google says a file at example.com/folder/robots.txt is not valid, and that the rules apply only within the protocol, host and port where it is posted. Google also enforces a file size limit of 500 kibibytes.
Conclusion
If a page must stay out of Google, noindex it and leave it crawlable. If a crawler is wasting requests, disallow it in robots.txt.
Never both on the same page. That combination is the one that produces the result you were trying to avoid.
If you would rather have the technical side handled properly, see how we approach SEO work.









