The line that quietly kills a launch
Here's a classic. A developer builds your new site on a staging server and adds Disallow: / so Google stays out. Smart. Then the site goes live, the file comes along for the ride, and for weeks nobody can find you. Your ads run, your emails go out, and organic search sends almost nothing. If traffic drops right after a launch or redesign, check yourdomain.com/robots.txt before you blame anything else.
Blocking is not hiding
Robots.txt tells crawlers where they may go. It does not lock anything. The file is public, so listing /secret-pricing/ or /admin-backup/ is basically a signpost for curious people. Protect private pages with a login, not a polite request.
Here's the tip most people miss. If a page is already in Google and you want it gone, don't block it in robots.txt. Blocking stops Google from crawling the page, so it never sees your noindex tag, and the URL can linger in results anyway. Add noindex first, wait for the page to drop out, and only block it afterward if you still need to.
Keep it boring
The best robots.txt files are short. Block what truly wastes crawl time, like internal search results or cart pages. Point to your sitemap. Leave your CSS and JavaScript open so Google can see your pages the way customers do.
