What is the difference between noindex and robots.txt disallow?

noindex (meta tag)Disallow (robots.txt)
Controls indexing: do not show the page in resultsControls crawling: do not visit the URL
Google must crawl the page to see the tagGoogle never reads the page, so it cannot see a noindex there
The right way to keep a page out of searchA blocked URL can still be indexed (without content) if others link to it
<meta name="robots" content="noindex">

If a page is blocked in robots.txt, Google cannot read the noindex tag, so it may stay in the index. To remove a page, allow crawling and add noindex.


Learn more about the similar topics:
Tutorials
No Content Found.
Exercises & Assignments
No Content Found.
Interview Questions & Answers
No Content Found.