What is robots.txt?
Definition
Robots.txt is a text file at the root of a website that tells search engine crawlers which parts of the site they may or may not crawl.
It lives at yourdomain.com/robots.txt. It's useful for keeping crawlers out of admin areas, internal search results and endless filter combinations.
It doesn't hide pages from Google
Blocking a page in robots.txt stops crawling, not indexing. If other sites link to it, the URL can still appear in results. Use a noindex tag to keep a page out of search.
A single wrong line, like Disallow: /, can block your whole site. It's one of the first things to check after a website launch.
