Getting found by Google · 2 min read

Robots.txt vs noindex: robots.txt won't hide pages

A robots.txt file tells crawlers which addresses on a site they may request, and Google says its main use is keeping crawlers from overloading a server, not hiding pages from Google.

What it means for your Maryland business

Robots.txt and noindex do different jobs. Robots.txt, a small text file at the root of your site, asks crawlers not to visit certain addresses. Noindex, a tag placed on a page, tells Google not to show that page in results. If you want a page kept out of Google, noindex or a password does that; robots.txt does not. This touches any Maryland business with pages it would rather keep out of search, such as staff schedules, internal price sheets, draft pages, ad landing pages or downloadable forms, and online stores with many near-duplicate filter or sort pages, the kind of "unimportant or similar pages" Google says robots.txt can keep crawlers away from.

A former web person at a Columbia dental practice, in Howard County, blocked its new-patient forms PDF and a staff calendar page in robots.txt to keep them private. Because a local directory links to the forms, the PDF's address still turns up in Google, just with no description. The practice should take those lines out of robots.txt, add a noindex tag to the forms page so Google can visit, read the tag and drop it, and put the staff calendar behind a login. Google won't crawl a page that robots.txt blocks, so a noindex tag on a still-blocked page may never be seen.

Treating robots.txt as security is the biggest error on Google's list, because well-behaved crawlers follow it, but others may not. Different crawlers can read the same rules differently. Blocking style or script files that a page needs can leave Google unable to understand that page. Google also warns that crawling and indexing rules combined carelessly can cancel each other out. If your site runs on Wix, Blogger or a similar builder, use its search visibility setting for a page rather than trying to edit the file.

What to do this week

3 steps. Ticks are saved to Your plan on this device.

Open Your plan

01
Leave robots.txt alone unless crawlers are overloading your site or you have unimportant pages they should skip.
02
Use your site builder's search visibility setting to hide a page, instead of editing robots.txt, if you're on a platform like Wix or Blogger.
03
Ask your web developer to review the file if a past developer used it to keep pages out of Google.

In Google's words

“it is not a mechanism for keeping a web page out of Google”

Google, exact quote · Robots.txt Introduction and Guide · checked against this page 2026-11-28

What Google says

A robots.txt file tells crawlers which addresses on a site they may request, and Google says its main use is keeping crawlers from overloading a server, not hiding pages from Google. A page blocked this way can still show in results, without a description, if other sites link to it; noindex or a password is the way to keep it out. Not every crawler obeys the file, and sites on a CMS such as Wix or Blogger may control this through a settings page instead.

Report an error