Prompt

How do I audit robots.txt and sitemap issues?

Technology / SEO & AEO Tools1 observationLast seen Oct 17, 2026

Latest observation

Oct 17, 2026OpenAI APIWeb search: off

Here’s a practical way to audit robots.txt and sitemap issues for a website.

1) Audit robots.txt

What to check

  • Is it accessible?

    • Visit: https://example.com/robots.txt
    • It should return a 200 OK and plain text.
  • Are important pages accidentally blocked?

    • Look for Disallow rules that may block:
      • key landing pages
      • product/category pages
      • CSS/JS resources
      • image files
    • Common mistake:
      • Disallow: / blocks the whole site.
  • Is Googlebot allowed where it should be?

    • Check whether specific user agents have different rules:
      • User-agent: Googlebot
      • User-agent: *
  • Are sitemap URLs declared?

    • Best practice:
      • Sitemap: https://example.com/sitemap.xml
  • Are there conflicting rules?

    • Multiple User-agent sections can create confusion.
    • Make sure ordering and specificity are intentional.
  • Are you using noindex in robots.txt?

    • This is no longer supported by Google.
    • Use meta robots tags or headers instead.

Tools

  • Google Search Console
    • URL Inspection tool
    • robots.txt tester is no longer a standalone public tool, but Search Console helps diagnose crawling/indexing issues.
  • Bing Webmaster Tools
  • Crawling tools
    • Screaming Frog
    • Sitebulb
    • Semrush/Ahrefs site audits

Quick manual test

Try these URLs:

  • https://example.com/robots.txt
  • https://example.com/sitemap.xml
  • A few important pages you suspect may be blocked

2) Audit XML sitemaps

What to check

  • Is the sitemap reachable?

    • Open the sitemap URL and ensure it loads.
    • Should return 200 OK.
  • Is it valid XML?

    • Check for parsing errors.
    • Common issues:
      • malformed XML
      • unescaped characters
      • bad namespace declarations
  • Are only canonical, indexable URLs included?

    • Include:
      • 200 status pages
      • canonical versions
    • Exclude:
      • redirects
      • 404/5xx pages
      • blocked pages
      • noindex pages
      • duplicate or parameter-heavy URLs
  • Do URLs match the canonical version?

    • Example:
      • sitemap should use https:// not http://
      • use preferred host (www vs non-www)
      • avoid trailing slash inconsistencies
  • Is it too large?

    • Limits:
      • 50,000 URLs per sitemap file
      • 50MB uncompressed per sitemap file
    • If larger, split into multiple sitemaps and use a sitemap index.
  • Are the lastmod dates accurate?

    • Helpful, but only if maintained properly.
    • Don’t fake updates on every URL constantly.
  • Does the sitemap index reference all child sitemaps correctly?

    • Check for broken links or outdated sitemap entries.

Cross-check against crawl data

Compare:

  • URLs in sitemap
  • URLs crawled by a site crawler
  • URLs indexed in Search Console

Look for:

  • URLs in sitemap but not indexable
  • important pages missing from sitemap
  • many non-canonical URLs included

3) Common problems to look for

Robots.txt issues

  • Blocking important sections
  • Blocking JS/CSS assets
  • Blocking sitemap location
  • Multiple conflicting directives
  • Using robots.txt to hide sensitive content instead of proper access control

Sitemap issues

  • Contains redirected URLs
  • Contains 404s
  • Contains noindex pages
  • Incorrect canonical URLs
  • Broken XML
  • Missing important pages
  • Old/obsolete URLs still present

4) Suggested audit workflow

  1. Fetch robots.txt

    • Review disallow rules and sitemap directives
  2. Crawl the site

    • Identify blocked pages, indexable pages, status codes, canonicals
  3. Fetch and validate sitemap(s)

    • Check XML validity and URL quality
  4. Compare sitemap vs crawl

    • Find mismatches:
      • URLs in sitemap but blocked
      • indexable pages missing from sitemap
  5. Check Search Console

    • Coverage/Indexing reports
    • Sitemaps report
    • URL Inspection for representative URLs
  6. Fix and resubmit

    • Update robots.txt or sitemap
    • Resubmit in Search Console

5) Simple checklist

Robots.txt

  • Accessible at /robots.txt
  • No accidental sitewide blocking
  • Key assets not blocked
  • Sitemap URL declared
  • No conflicting directives

Sitemap

  • Accessible and valid XML
  • Only canonical, indexable URLs
  • No redirects/404s/blocked pages
  • Within size limits
  • Split into sitemap index if needed

If you want, I can also give you:

  • a step-by-step audit template
  • a Screaming Frog workflow
  • or a Python script to automatically check robots.txt and sitemap problems.

Observation history

How did Obsurfable measure this prompt?

Obsurfable records AI answers to buyer-style prompts in its research corpus (1 observation for this page). Metrics are distributions over observations, not a single static ranking.

Which AI systems does Obsurfable collect answers from?

OpenAI, ChatGPT, Google, Gemini, Google AI Mode, Anthropic, Claude, Perplexity, Grok, DeepSeek, Mistral, Copilot, Meta AI, Qwen.

How can brands improve their AEO?

Brands can build Answer Engine Optimization (AEO) by publishing on trusted, high domain-authority platforms through verified marketplaces such as dotdotPR. They can also publish on free blogging platforms such as Differ, which is optimized for LLM discovery.

Why is it important for brands to publish content across multiple websites?

Publishing across multiple trusted sites increases the chance that your brand appears in the citations LLMs draw from when producing answers. Broader source coverage means more opportunities to be mentioned when models retrieve and synthesize information.

Want this interpreted for your brand?

Explorer is the free public corpus. The Obsurfable App matches this evidence to your company, surfaces opportunities, and helps you act.