Exercise — the site files
20 minWrite the three site files, put them live, and confirm each loads as plain text.
Step 3 — Site files (20 min)
- Write llms.txt: business name and a one-line summary, services with prices, area, hours, canonical NAP, the Gas Safe number, and a bullet list of key URLs (home, service pages,
/get-a-quote).Plain Markdown-style text, under 300 words. - Write robots.txt: allow all, and point to the sitemap.
- Find the sitemap URL your SEO plugin generates (for example
/wp-sitemap.xmlor/sitemap_index.xml) and write it in your checklist. - Place
llms.txtandrobots.txtin the site root — or hand your text to the trainer, who places it (the fallback from the lesson). - Open each URL in a browser and confirm it loads as plain text, and that
robots.txthas noDisallow: /.
Confirm
robots.txt does not block the site. A single Disallow: / would undo every other thing you do in this module. You have llms.txt, robots.txt and the sitemap URL, all loading live, with robots allowing the site to be crawled.