• Showcase
  • Pricing
  • Blog

Sitemaps and Robots.txt: A 5-Minute Check

Colorful pins marking locations on a paper map, like a sitemap marking pages for search engines

Sitemaps and robots.txt are two files most site owners never touch. One tells search engines what pages exist. The other tells them which ones to skip. If either is missing or misconfigured, Google might be ignoring half your site without you knowing. This five-minute check shows you where to find them, what they should say, and how to fix the common mistakes.

By Chris Sullivan, Kworq
Sep 8, 2026, 02:46 AM

While writing this post, we ran the exact check we are about to teach you on our own site. We typed storypress.app/sitemap.xml into a browser. The file loaded fine, status 200, valid XML. It contained zero pages. Fifteen blog posts live, and the map we hand to Google listed none of them. We filed the fix the same day.

That is the whole point of this guide. Sitemaps and robots.txt are two small text files that quietly decide how easily search engines (and now AI assistants) find your pages. Most site owners have never looked at either one. Both take under five minutes to check, and the failure modes are silent: nothing looks broken, your site works perfectly for humans, and you only notice when pages stop showing up in search.




One is a map. One is a gatekeeper.

sitemap.xml is a list of every page you want search engines to know about, usually with a date showing when each was last updated. Think of it as handing a visitor a map of your shop: here are the aisles, here is what is new. Google calls it a discovery signal, not a command, but for small sites with few backlinks it is often how new pages get found at all. Google's own sitemap documentation says small, well-linked sites can survive without one. In practice, a correct sitemap means new pages get discovered in days instead of weeks.

robots.txt is the opposite: it tells crawlers where they may not go. It lives at yourdomain.com/robots.txt and follows a simple allow/disallow format. It is a gatekeeper, not a lock. Well-behaved bots respect it; it provides zero security. Never use it to hide private pages, because listing a path in robots.txt literally publishes that path to anyone curious enough to look.

Crawler arrives
Googlebot, Bingbot, ClaudeBot...
→
Reads robots.txt
“Where am I NOT allowed?”
→
Reads sitemap.xml
“What is worth crawling?”
→
Pages indexed
Findable in search & AI answers



Side by side: which file does what

sitemap.xmlrobots.txt
JobLists pages you WANT foundMarks paths crawlers should SKIP
Lives at/sitemap.xml/robots.txt (root only)
Tone“Here is my best stuff”“Please stay out of here”
If missingSlower discovery of new pagesEverything is crawlable (usually fine)
If wrongGoogle ignores it or wastes crawlsCan hide your ENTIRE site from search
Is it security?NoNo. It is a polite request, not a lock



What these files look like in your browser

Before you check your own, here is what a healthy sitemap and robots.txt look like when you open them directly.

Sitemap.xml open in a browser showing page URLs and timestamps
A real sitemap.xml: each URL entry is a page Google can find
Robots.txt file showing crawler directives
A real robots.txt: directives telling crawlers what to index and what to skip
Google Search Console sitemaps page showing submitted sitemaps with success status
Search Console after submitting your sitemap: all three show Success status



The 5-minute health check

Step 1: Open your sitemap

Type yourdomain.com/sitemap.xml into a browser. You want to see XML with a list of URL entries, one per page. How to verify: count a few entries and spot-check that your homepage, your services page, and a recent post are in there. Two failure modes to catch: a 404 (no sitemap at all) and our failure mode, a sitemap that loads but is empty. Both look fine from the outside.

Step 2: Open your robots.txt

Type yourdomain.com/robots.txt. The one line that should make you stop everything: Disallow: / under User-agent: *. That single slash tells every crawler to skip your whole site. It is usually a leftover from a developer hiding the site before launch, and it is more common than you would think. How to verify: you may see specific paths disallowed (an admin area, a search results page); that is normal. A bare Disallow: / for all agents is the emergency.

Step 3: Check the sitemap line inside robots.txt

Good robots.txt files end with a line like Sitemap: https://yourdomain.com/sitemap.xml. It is how crawlers that have never visited you find the map. How to verify: the URL on that line should load and should match Step 1.

Step 4: Tell Google directly

In Google Search Console (free, ten minutes to set up if you have not), open Sitemaps in the left menu, paste your sitemap URL, and submit. How to verify: status should read Success within a day or two, with a discovered-pages count that roughly matches your real page count. A big mismatch is your cue to dig.




Do this, not that

Do

  • Check both files twice a year, and after any redesign or migration

  • Keep only real, live pages in the sitemap (no redirects, no 404s)

  • Let your platform regenerate the sitemap automatically when you add pages

  • Submit the sitemap in Search Console once, then let it ride

Don't

  • Use robots.txt to hide private pages (it advertises them instead)

  • Copy robots.txt rules from random tutorials without knowing what each line blocks

  • Hand-edit a sitemap and forget it exists (stale maps get ignored)

  • Assume no error message means everything works. Empty files return 200 too




The 2026 twist: robots.txt is now read by more than Google

Search bots are no longer the only readers. AI crawlers like GPTBot (OpenAI), ClaudeBot (Anthropic), and PerplexityBot check robots.txt before touching your site, and you can now set different rules for training crawlers versus the bots that answer live user questions. For most small businesses the right move is simple: stay findable. When someone asks an AI assistant for a pottery class or a plumber in your town, you want your site in the pool of sources it can read and cite. Blocking every AI bot by default is a decision worth making deliberately, not something to inherit from a copied template.

This is also a category where your website platform should be doing the work. StoryPress generates the sitemap and robots.txt automatically and keeps pages AI-readable by default; part of why it stays at $5 a month is that there is no plugin stack to maintain or misconfigure behind those files. And when automation does slip (our empty sitemap above), the check you just learned catches it in five minutes. No tool replaces looking.

A sitemap that loads but lists nothing looks exactly like a healthy one. Check the contents, not the status code.

One practical website fix in your inbox each week

Two people shaking hands across a bright desk, representing a website handoff from agency to client
The Client Handoff That Stops Late-Night Edits

The best client handoff is one where nobody emails you at 11pm asking to change a word. Here is how to set that up.

Typewriter with a sheet of yellow paper, ready for a first line
5 Homepage Headline Formulas That Convert

Most small business homepages open with "Welcome" or "Quality service you can trust." Those lines could sit on any competitor's site without anyone noticing. This guide gives you five fill-in-the-blank headline formulas, real before-and-after rewrites, and a 20-minute process to write a homepage line that could only describe your business.

  • Showcase
  • Pricing
  • Terms of Service
  • Privacy Policy
  • Cookie Policy

Get the latest updates

  • Loading...
© Kworq, IncLLMs.txt
by StoryPress, with
InstagramInstagram icon for social media