The three site files
11 minThree small text files tell crawlers and AI tools what your site is and what they may read. None needs code — they are plain text.
- robots.txt
- A plain-text file at the site root saying what may be crawled, and where the sitemap is. For a site you want found, it allows everything and must never say
Disallow: /. - sitemap
- A list of the pages that exist, in XML. WordPress and SEO plugins generate one for you — commonly at
/wp-sitemap.xmlor/sitemap_index.xml. You find the URL, you do not write it by hand. - llms.txt
- A plain-text summary of the site written for AI tools: the business, its services and prices, area, hours, NAP and key URLs. A convention, not a guarantee — worth adding, never a promise.
Think of it like this
robots.txt is the sign on the door (come in / which rooms). The sitemap is the floor plan (here is every room). llms.txt is the one-page "about us" handed to a visitor who only has a minute.Do not block your own site The single biggest mistake with
robots.txt is a stray Disallow: /, which tells crawlers to stay out of the whole site. Always open the file in a browser and read it. If you want to be found, allow all.Where the files live
llms.txt and robots.txt belong in the site root (e.g. https://yoursite/llms.txt). Most learners cannot write there, and WordPress serves a virtual robots.txt, so the fallback applies: the trainer pre-provisions the files, or you hand over your text and the trainer places it. Either way, your text is part of the deliverable. You can say what robots.txt, a sitemap and llms.txt each do, and name the one robots.txt mistake to avoid.