What Is It?
What Is Robots.txt, And What Is It For?
Robots.txt is a simple text file located at the root of a site (yoursite.com/robots.txt). It tells crawling bots (Googlebot, Bingbot, AI bots) which pages they can and can't crawl.
Important note: robots.txt is only a 'suggestion,' not an enforcement mechanism. Well-behaved bots (Google, Bing) comply; malicious scrapers may not. To truly hide sensitive content, use authentication or IP blocking.