built with claude referral only running on claude + openclaw
← BACK TO THE BLOG

// BLOG

AI SEARCH OPTIMIZATION, EXPLAINED PLAINLY

your site → [ robots.txt + llms.txt ] → ai answer, with or without you

TWO FILES, ONE DECISION

A growing share of the questions your customers used to type into Google now go to ChatGPT, Claude, or Perplexity instead: "best web designer in Vancouver," "who can fix my WordPress site near me." Those tools answer by reading the web, the same way search engines do, but the rules for what they're allowed to read and how they decide what's trustworthy are still new enough that most small business sites haven't touched them at all.

robots.txt: the gatekeeper

Every site should have a robots.txt file at its root, and it's the first thing worth checking. It tells bots, including AI crawlers, what they can and can't access. The catch is that "AI bots" isn't one category. Some AI crawlers are for search and citation, the kind that let a tool like ChatGPT actually reference and link to your page in an answer. Others are for training, feeding your content into a model with no promise of ever citing you back. A lot of default robots.txt files block both categories equally, or block neither, without the site owner ever making an intentional choice either way.

That's genuinely worth a few minutes of attention: decide whether you want search and citation bots allowed in (usually yes, if you want to show up in AI answers) and whether you're comfortable with training bots too (a real choice, not a default). I built a free tool that checks this for any site in a few seconds, linked below.

llms.txt: the newer, optional layer

llms.txt is a newer, still-emerging convention: a plain-text file at your root that gives AI tools a clean, direct summary of what your site is and where its important pages are, instead of making them infer it from your full HTML. It's not a ranking signal and it's not required. Think of it as a short, structured intro you hand an AI system instead of making it read your whole site to figure out what you do. Worth having if you've got the five minutes; not something to lose sleep over if you don't.

What actually matters more than either file

Neither file makes content trustworthy on its own. AI tools, like search engines, still weigh whether your content is specific, accurate, and actually answers the question someone asked. A robots.txt that welcomes every crawler in the world won't help a page that's thin, vague, or indistinguishable from a hundred competitors. The files control access. What's actually on the page still has to earn the citation.

A quick starting checklist for a local business site

  1. Check your current robots.txt and see what it actually allows. Most owners have never looked.
  2. Decide, deliberately, whether you want AI training bots in or out. There's no universally correct answer, it's a real tradeoff.
  3. Make sure search and citation bots specifically are allowed, if being found through AI tools matters to your business.
  4. Add a simple llms.txt if you want to be thorough. It's low effort and there's no real downside.
  5. Focus the bigger chunk of your time on the content itself. Specific, accurate, well-organized pages outperform any file-level tweak.

AI crawler behavior and conventions like llms.txt are still evolving. What's accurate today may shift as these tools mature, so treat this as a starting point, not a permanent rulebook.

Want to see exactly what your own site currently allows? Try the free AI Crawl Checker, it reads your robots.txt and tells you plainly what's open and what's blocked. Got a more specific question about your setup? Ask it here, for free.

TRY THE CRAWL CHECKER →