Robots.txt mistakes often come from copying generic files or forgetting temporary launch settings. Here are ten checks to make before publishing.

  1. Accidentally using Disallow: / on a live site.
  2. Uploading the file outside the domain root.
  3. Misspelling User-agent or Disallow.
  4. Blocking CSS and JavaScript needed for rendering.
  5. Expecting robots.txt to secure confidential content.
  6. Using relative sitemap URLs instead of absolute URLs.
  7. Leaving an old staging-domain sitemap.
  8. Blocking image folders when image search matters.
  9. Creating conflicting rules without testing them.
  10. Never reviewing the file after a redesign.

Build a review habit

Open the file directly, check server status, verify the sitemap and test important URLs. Keep a dated copy of changes so accidental blocks can be reversed quickly.