Robots and Noindex: Telling Search Engines What to Skip

The two ways a small business site tells search engines to leave a page alone, when each is appropriate, and the redesign mistake that hides an entire site.

There are two instruments for asking a search engine to look away, and they are often confused with each other. One is a file. The other is a line inside a page. They sound similar and behave differently, and the difference matters on the day you accidentally use the wrong one across your whole site.

The file: robots.txt

A robots file lives at the root of your domain and contains instructions for crawlers. The instructions are polite requests, not locks. A well-behaved crawler reads the file, sees which paths it is asked not to fetch, and complies. A badly behaved one ignores it entirely.

The important subtlety is that a page blocked by robots can still appear in search results. The crawler was asked not to read the page, so it cannot see the content, but if other sites link to the address, it may still list the address with no description. Owners who wanted a page to vanish are surprised to find it still listed, just blank.

For a small business site, the robots file usually needs very little. Most hosted platforms write a sensible default. The only reason to touch it is a specific folder you want crawlers to skip, such as a staging area or an internal tool.

The line: noindex

A noindex instruction lives inside the page itself, in a meta tag or a response header. It says: you may read this page, but please do not include it in results. The crawler fetches the page, sees the instruction, and drops it from the index.

This is the right tool for pages that must exist but should not be found through search. Thank-you pages after a form. A private price list you share by link. A landing page built for one printed flyer. A policy page that duplicates text from a parent company.

Noindex works only if the crawler can reach the page. Blocking a page in robots and also marking it noindex is self-defeating: the crawler is told not to read the page, so it never sees the noindex line.

A worked example

Picture Example Dental, a fictional practice with a page of new-patient forms that patients reach from a confirmation email. The owner does not want it in search because it is confusing without context.

Before: the page is blocked in robots. Months later it still appears in results as a bare address with no description, and curious people click it.

After: the robots rule is removed, the page carries a noindex instruction, and the crawler is allowed to read it. On the next crawl it leaves the index. The link in the confirmation email continues to work.

Nothing about the page changed for patients. Only the instruction to machines changed.

The redesign mistake

Preview environments are commonly set to noindex across every page, and rightly so. Nobody wants a half-built site in search. The mistake happens at launch: the setting travels with the site to the live domain, and every page politely asks to be left out.

The symptoms are slow and quiet. Search impressions drift down over weeks. The owner assumes a seasonal dip. Eventually someone views the page source and finds the line.

After any launch or platform move, check the live homepage for a noindex instruction. Your platform may show it as a checkbox called something like “hide from search engines.” Confirm it is off for the live site and on for anything you consider a draft.

Common mistakes

  • Using robots to hide a page and expecting it to disappear from results.
  • Combining a robots block with noindex, so the noindex is never read.
  • Carrying a sitewide noindex setting from a preview into the live launch.
  • Marking the homepage noindex while trying to hide one section.
  • Forgetting to remove noindex from a page after a temporary campaign ends.

Try this today

  1. Open your live homepage, view the page source, and search the text for “noindex.” It should not be there.
  2. Visit your domain with /robots.txt added and read what is being blocked.
  3. List any page that should exist but not be searchable, and confirm it uses noindex rather than a robots block.

Field notes

  • The robots file asks crawlers not to fetch certain paths; it does not remove pages from results.
  • Noindex is read inside the page and asks for exclusion from results; the page must be reachable.
  • Use noindex for thank-you pages, private links and campaign pages that would confuse searchers.
  • After any launch, confirm that no sitewide noindex setting came along for the ride.

Want this turned into a live website without the building? websiites writes and builds the pages from your business description, and you can check the result before you pay. Start with how it works.

  • How It Works — See the full site before you pay.
  • Frequently Asked Questions — Everything you need to know about websiites.com: pricing, how the AI build works, domain setup, cancellation, and what happens if you’re not happy.
  • Free Website Audit — Take our free 2-minute website audit quiz.