What is robots.txt?
A robots.txt file is a plaintext file placed at the root of a website (e.g. `/robots.txt`) instructing search engines and other web robots which folders they are allowed to crawl.
TEXT Snippet
text
User-agent: *
Disallow: /admin/
Disallow: /api/
Sitemap: https://example.com/sitemap.xmlDirectives and Search Engine Limits
The `Disallow` rule blocks crawlers from requesting pages in that folder. Note that robots.txt blocks crawling, not indexing. If a disallowed page is linked from elsewhere, it can still appear in search results. To prevent indexing, use `noindex` meta tags instead.
