Indexability Checklist: 12 Reasons Your Pages Aren’t Indexed
Pages missing from Google? Work through 12 common indexability problems, from stray noindex tags and robots.txt blocks to…
Robots.txt controls crawling and noindex controls indexing. Learn the difference, when to use each, and why combining them can keep unwanted pages in Google's results.

Robots.txt vs noindex is one of the most misunderstood choices in technical SEO, because both seem to “hide” pages from Google. In reality they do different jobs: robots.txt controls crawling, while noindex controls indexing. Use the wrong one and you can end up with private pages showing in search results, or important pages quietly disappearing. This guide explains how each works, when to use which, and the one combination you should never use.
This guide is part of our complete website SEO audit guide, which walks through every step of auditing a small site.
Robots.txt is a plain text file at the root of your domain, for example https://example.com/robots.txt. It gives crawlers instructions about which paths they may request. A simple file looks like this:
User-agent: *
Disallow: /wp-admin/
Allow: /wp-admin/admin-ajax.php
Disallow: /cart/
Disallow: /*?sort=
Sitemap: https://example.com/sitemap_index.xmlKey facts about robots.txt:
Google’s own introduction to robots.txt states plainly that it is not a mechanism for keeping a web page out of Google.
Noindex is an instruction placed on the page itself, telling search engines not to include it in their index. There are two ways to add it:
As a meta tag in the HTML head:
<meta name="robots" content="noindex, follow">Or as an HTTP response header, which also works for PDFs and other non-HTML files:
X-Robots-Tag: noindexKey facts about noindex:
noindex, follow (the default behaviour), crawlers can still discover pages linked from the noindexed page.| Robots.txt Disallow | Noindex | |
|---|---|---|
| What it controls | Crawling | Indexing |
| Where it lives | One file at the domain root | Each page (meta tag) or HTTP header |
| Scope | Paths and patterns | Individual URLs |
| Keeps page out of search results? | Not reliably | Yes, once crawled |
| Saves crawl activity? | Yes | No, the page is still crawled |
| Works on PDFs and images? | Yes (blocks crawling) | Yes, via X-Robots-Tag header |
| Typical use | Admin areas, internal search, faceted parameters, scripts you do not need crawled | Thank-you pages, thin archives, internal search results, login pages |
The short version of robots.txt vs noindex: if you want a page out of search results, use noindex. If you want crawlers to stop requesting a group of URLs, use robots.txt.
The most damaging robots.txt vs noindex error is using both at once. Many site owners add a noindex tag and also disallow the same URL in robots.txt, reasoning that two locks are better than one. It works the opposite way:
The result is the exact outcome you were trying to prevent. If a page is already showing in results and you want it gone, make sure it is crawlable, add noindex, and wait for Google to recrawl it. Only once it has dropped out should you consider blocking crawling, and usually you do not need to at all.
Quick tip: To remove a page from Google quickly, add noindex and keep it crawlable, then use Search Console’s URL Inspection to request a recrawl. The Removals tool can hide a URL temporarily while the noindex takes effect.
Here is how the decision plays out for pages small sites commonly need to manage:
/wp-admin/.Because these settings are invisible on the page itself, they are easy to forget. Build a habit of checking:
/robots.txt in a browser and read every line. Look for leftover rules like Disallow: / from a development site.Remember that noindex can also be sent as an HTTP header, which never appears in the HTML. If a page is excluded and you cannot find a meta tag, check the response headers in your browser’s developer tools under the Network tab. Our indexability checklist covers this and eleven other reasons pages fail to get indexed.
When you are weighing robots.txt vs noindex for a specific page and are unsure which to use, answer these questions in order:
If you believe that blocking a page in robots.txt removes it from Google, you are not alone; it is one of the classic technical SEO myths small site owners still believe.
Settling the robots.txt vs noindex question for each section of your site takes a few minutes and prevents some of the most frustrating indexing problems. For more practical, lightweight SEO checks, head to LiteScroll.com.
Written by
Editorial Team
The LiteScroll Editorial Team researches, tests and writes every guide on LiteScroll.com. We run each fix through our own SEO Crawler and SEO Inspector before we recommend it, and we update guides when search engines change the rules.
Our editorial policy
Pages missing from Google? Work through 12 common indexability problems, from stray noindex tags and robots.txt blocks to…

Learn what a canonical URL is, how to add canonical tags correctly, how to test them across your…

A complete website SEO audit guide for small sites: plan your pages, check indexability, canonicals, titles, headings, images…