Control what search engines can access.

Use robots.txt to guide crawling and noindex to keep a page out of search results. Neither replaces authentication, and robots rules should never accidentally block the public pages you want indexed.

Framer SEO · 8 min read · Updated 2026-06-06

Pick the right control

Before making changes, work through the points below. Each one covers a different part of the picture, so treat them as a set rather than picking favourites.

  • Robots.txt: a crawl guidance file at the domain root.
  • Noindex: a page-level instruction not to include a URL in results.
  • Authentication: the real control for private content.
  • Canonical: a preference for the primary version of duplicate or similar pages.

With the right control chosen, apply it using the sequence below.

  1. List public pages that should be discovered.
  2. Identify private, duplicate or low-value routes.
  3. Apply noindex to pages that should exist but not appear in search.
  4. Check robots.txt does not block important CSS, JS or public paths.
  5. Test the published URL and inspect the resulting directives.
Do not disallow a URL in robots.txt and expect search engines to see its noindex tag. If crawlers cannot fetch the page, they may not see the instruction.

Diagnostic sequence for indexing problems

Work through these steps in order. Each one builds on the last, so resist skipping ahead even if a step feels familiar.

  1. Check whether the URL is disallowed in robots.txt.
  2. Fetch the page and confirm no noindex tag is present unintentionally.
  3. Confirm the canonical points to itself, not another URL.
  4. Check the sitemap includes the page if it should be indexed.
  5. Request indexing in Search Console once the above are confirmed correct.

Pages that usually need noindex, not robots.txt

A few moving parts are involved here. The points below cover each of them, so you can see the full scope before deciding where to start.

  • Thank you and confirmation pages.
  • Internal search result pages.
  • Duplicate filtered or sorted variants of a listing.
  • Staging or preview subdomains left publicly reachable.

Questions

Not reliably. A disallowed URL can still be indexed with limited information if other sites link to it. Use noindex to control search visibility for a specific page.

No. Robots.txt is a public file and only asks well-behaved crawlers not to fetch a path. Use authentication for anything that must actually stay private.

This usually means the page was already indexed before noindex was added, or robots.txt is blocking the crawler from ever seeing the updated tag. Allow crawling and request re-indexing.

Want a technical SEO plan?

We find what's holding your rankings back and fix it in order of impact.