Where do I put robots.txt?
Place it in your website's root directory (e.g., https://yourdomain.com/robots.txt). It must be publicly accessible. Search engines automatically look for it when crawling your site.
What's the difference between Disallow and Allow?
Disallowing blocks crawlers from accessing specific paths. Allowing overrides disallow rules for specific paths within disallowed directories. Use carefully to avoid blocking important content.
Can robots.txt hide pages from search results?
No, it only prevents crawling. Pages might still appear if linked elsewhere. Use noindex meta tags for pages you want completely out of search results.