In plain English
It controls crawling, not indexing. A disallowed URL will not be fetched, but if other sites link to it, it can still appear in results without a description.
It is also public, plain text, and the single easiest file to break a site with. One stray disallow line can remove a whole section from search.
What to know
Why it matters
Robots.txt causes more accidental traffic loss than almost any other single file, usually through a staging rule that shipped to production. It is worth checking after every deployment.
Common mistakes
FAQs
Will robots.txt remove a page from Google?
No. Use noindex, or remove the page and return the correct status.
Where does it go?
At the root of the domain, and nowhere else.
I'm a marketing consultant, entrepreneur and content creator. I help businesses grow through practical marketing, websites, SEO, content and AI.
More About Tariq →