← All reports

SEO Basics

Does blocking a page in robots.txt remove it from search? Blocking crawling and removing from the index are different

Is there a page you'd rather keep out of search, so you added a line to robots.txt? A few days later you search and the URL is still there, with no description under it. Let's open Google's documentation together, see how "blocking" differs from "removing", and reread your own robots.txt in three minutes.

robots.txt is a sign on the front door

A finished promotion page, a page made for testing, a guide only members should see. Every site has pages it would rather keep out of search. So many people open robots.txt and add a Disallow line, thinking Google can't get in now, so the page will disappear from search.

Google Search Central's introduction to robots.txt corrects that expectation in its opening lines. robots.txt is used mainly to manage crawler traffic to your site, and it is not a mechanism for keeping a web page out of Google. If you want a page out of search, Google points you to noindex or password protection instead.

Think of robots.txt as a "Staff only" sign at the entrance. Polite visitors turn around at the door. But people outside can still hear about what's in that room. noindex is closer to a note inside the room that says "Please don't list this room in the guidebook" for anyone who comes in.

Blocking vs. removing, side by side from Google's docs

robots.txt · Disallow Blocks crawling The crawler doesn't come into the page It can still be indexed if other sites link to it The URL can stay in results with no description Its real job is managing crawler traffic. And not every crawler follows it.
noindex · meta tag or HTTP header Removes from the index The crawler has to come in and read the rule Once read, the page is dropped from search results People who arrive by link or URL can still see it If the goal is keeping a page out of search, this is the one Google recommends.
The names sound alike, but they do different jobs. One turns visitors away at the door, the other asks them not to record what they saw. Based on the robots.txt introduction and the noindex doc (both last updated December 10, 2025).

You blocked it, so why is the URL still there?

Google's documentation describes this exact scene. A page blocked by robots.txt can still be indexed if other sites link to it. Since Google couldn't read the page, the result shows only the URL, with no description under it.

It's easier to see step by step. The crawler saw the sign and turned back. But the URL lives on as a link in another blog, a forum post, an old press release. Google learns that the address exists and lists it without ever looking inside. For the person who blocked it, that's about the most awkward outcome there is.

What can happen when you block with robots.txt alone

  1. 01 · The signOne Disallow lineThe site owner blocks a path like /event/ in robots.txt.
  2. 02 · Outside linksThe URL lives on elsewhereAn old promo post or a forum thread still links to that address.
  3. 03 · At the doorIt can't read insideGoogle's crawler respects the sign and doesn't go in. It doesn't know what the page says.
  4. 04 · The resultA URL with no descriptionThe address can remain in search results, with nothing under the title.
What you blocked was the visit, not the record. This is the case Google's robots.txt introduction describes directly. Not every blocked page ends up this way, but the more outside links it has, the more likely it gets.

Use both, and noindex never gets read

This is where many people take one more step. "Then I'll block it in robots.txt and add noindex too, just to be sure." Google's documentation says the opposite. For noindex to work, the page must not be blocked by robots.txt, and the crawler has to be able to reach it. If it's blocked, the crawler never reads the note, and if other pages link to it, the page can still show up in results.

So the double lock you added "to be safe" is what switches noindex off. Nobody gets past the sign, so the note inside the room is never read.

Search Console gives this scene its own name, too. The Page indexing report has many statuses, and three of them tie straight into today's topic.

Three statuses you'll meet in Search Console's Page indexing report

Indexed, though blocked by robots.txtBlocked, yet indexedThe page was indexed even though robots.txt blocks it. To keep it out of search, Google says to lift the robots.txt block and use noindex.
URL blocked by robots.txtBlocked by robots.txtrobots.txt blocks the page. Google notes this doesn't guarantee it won't be indexed some other way.
URL marked 'noindex'Left out by noindexThe crawler came in, read noindex and didn't index the page. If that's what you wanted, there's nothing to do.
The status names alone tell you what happened. Names are as they appear in the English interface; the explanations follow the Search Console Help article on the Page indexing report.

One more thing to keep in mind. Adding noindex doesn't drop the page the next day. Google has to crawl the page again to read the note. Google says it may take months for its crawler to revisit a page, and if you're in a hurry, you can request a recrawl with the URL Inspection tool.

Which one fits your situation?

Google's "Control what you share on Google" page sorts the options by purpose. What you reach for depends on what you're trying to do.

Pick by what you want to do, following Google's docs

  1. 01I want it goneA finished event, a page posted by mistakeMethodRemove it from your site. Google calls this the best way to make sure it won't appear in Search
  2. 02Only certain people should see itMember files, internal documentsMethodPassword-protect it. Google says content that already appeared will eventually drop out
  3. 03Keep it, but out of searchOrder confirmation, thank-you pagesMethodnoindex. People who arrive by link can still see it
  4. 04Keep image or video files outPictures and videos in resultsMethodrobots.txt. Google only indexes images and videos its crawler is allowed to fetch
  5. 05Cut down crawler visitsPaths that strain your serverMethodrobots.txt. This is what it was made for
"Keep it out of search" is 03. "Fewer visits" is 05. If something is already in search and must come down fast, follow Google's separate guide on removals. Based on "Control what you share on Google" (last updated October 21, 2026).

Open a new tab and give this three minutes. Type your site's address and add /robots.txt at the end. You'll see a few lines that start with Disallow. Next to each one, jot a note: "Did I add this to keep it out of search, or to reduce crawler visits?" If it's the first, that line needs a different method, as we just saw.

One more thing. While you're editing robots.txt, check that you haven't blocked files like images or scripts along the way. Google says to block such files only if pages loaded without them won't be significantly affected, and not to block them if that would make the page harder for Google to understand.

A 3-minute check for today

Keep that robots.txt tab open and follow along.

  1. 1 min · ReadGive each Disallow line a reasonFor each line, write "to keep out of search" or "to reduce visits". Mark any line whose reason you can't remember.
  2. 1 min · SearchLook up a blocked URL on GooglePaste one URL you blocked "to keep out of search" into Google. If it shows up as a bare address with no description, that's the scene we just covered.
  3. 1 min · ConfirmOpen the Page indexing report onceIf you use Search Console, look for the "Indexed, though blocked by robots.txt" status. If it's there, start with those URLs and pick the right method again.

Where doing this by hand gets stuck

You can read one robots.txt file this way. The trouble comes next. Meta tags inside each page and headers sent by the server don't show on screen, so you have to open the source page by page. After you fix something, you still wait for Google to come back. And as Google's own docs note, crawlers can read the rules differently or ignore them, so a page that looks sorted out in Google isn't guaranteed to look the same in ChatGPT or Gemini answers.

AIOudit cuts down that repetition. Paste a page URL and it looks at how customers and AI read that page in one pass, then lays out what to fix first, in order.

Dit in its default look: a white body, a dark visor and headsets on both sides
DIT "Years of building your site. For the price of a coffee, Dit shows you how AI reads it."
Dit, the robot that reads signals. Dit checks first whether the signal you sent reached AI.

That said, when Google crawls again, which pages it indexes and where it shows them are ultimately Google's call. Price, ads and brand reputation sit outside the page too, and AIOudit can't see those for you.

See how customers and AI read your page. Run it through AIOudit.

Sources

  1. Google Search Central · Introduction to robots.txt (updated 2025-12-10: for managing crawler traffic, not a way to keep pages out of Google; linked pages can be indexed and shown without a description; not all crawlers obey; caution on blocking resource files)
  2. Google Search Central · Block Search indexing with noindex (updated 2025-12-10: meta tag and X-Robots-Tag; noindex has no effect if blocked by robots.txt; revisits may take months; request a recrawl with URL Inspection)
  3. Google Search Central · Control what you share on Google (updated 2026-10-21: when to remove, password-protect, use noindex or robots.txt)
  4. Search Console Help · Page indexing report (Indexed, though blocked by robots.txt · URL blocked by robots.txt · URL marked 'noindex', with recommended actions) · checked 2026-11