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
SEO – Canonical URLs
SEO – Robots.txt
SEO – XML Sitemap
Exercises & Assignments
Write a robots.txt file to block folders
Block all PDF files and URLs with a parameter in robots.txt
Add a canonical tag to a filtered page
Create an XML sitemap for three pages
Interview Questions & Answers
Which is more useful between an HTML sitemap and an XML sitemap?
What is technical SEO?
What is a robots.txt file?
What is an XML sitemap?
What is a canonical tag?
What is crawl budget?
What is duplicate content and how do you fix it?