SEO TRAINING · LESSON 8 OF 40 · 3 MIN READ
Understand robots.txt and noindex
Choose the right concept for crawling, indexing and privacy.
Crawling and indexing are separate
Crawling is fetching a resource. Indexing is deciding whether and how its content belongs in a search index. A robots.txt instruction controls crawler access; it is not an authentication system and does not reliably hide private information.
The crawler must be able to read noindex
A noindex directive tells a supporting search engine not to index a page once it can fetch and process that instruction. If robots.txt blocks the fetch, the crawler may not see the noindex tag. A disallowed URL can still appear in results without a content snippet.
Protect private material properly
Use appropriate authentication and access controls for private pages and files. Do not put secrets in public pages and expect robots rules to protect them. Changes to search visibility can take time and should be checked in the relevant tools for a site you are authorised to manage.
SEE IT IN CONTEXT
Worked example: conflicting instructions
robots.txt: Disallow: /example-lesson/ Page HTML: <meta name="robots" content="noindex"> Issue: the crawl block can stop the search engine reading the noindex instruction. Private document instead? Protect it with access controls; do not rely on this example.
The example distinguishes two different controls. It is not an instruction to make a private page public, and the training never changes a live robots file.
Common mistakes to avoid
- Using robots.txt as password protection.
- Assuming a crawl block guarantees removal from results.
- Expecting a blocked page’s noindex tag to be read immediately.
NOW HAVE A GO
Distinguish crawling from indexing
Apply this lesson in a 6-minute exercise. Get hints, check your answer and read the explanation.
Try the practice activity →Download the practice worksheetReading marks are self-reported and saved only in this browser.
0 of 40 lessons marked as read
Keep learning: official Google reference ↗
