CiteableAll guides

Guide

How to add an llms.txt to Ghost (2026 guide)

Updated · July 10, 2026Joffrey

What is GEO?

Ghost doesn't serve an llms.txt file by default. Here's how to add one — plus Q&A schema.org markup — so AI answer engines can read your Ghost site and cite it in their answers. The steps are concrete and take a few minutes.

Why add an llms.txt on Ghost?

AI answer engines (ChatGPT, Perplexity, Gemini, Claude) cite only a handful of sources per question, and they favor pages they can read cleanly. An llms.txt hands them a clear, structured version of your site; Q&A schema.org markup makes your answers quotable word for word. Without it, even ranking well on Google, your Ghost site is unlikely to appear in an AI answer — not for lack of quality, but because nothing is machine-readable.

Add the llms.txt and Q&A markup on Ghost

  1. Q&A markup: Ghost Admin → Settings → Code injection → Site Header → paste it. It's clean, site-wide, and survives updates — the strongest signal.
  2. robots.txt: place a robots.txt at the root of your active theme's folder, then re-activate the theme (Ghost doesn't edit it from the admin).
  3. llms.txt: Ghost doesn't serve an arbitrary root file. With theme access, add a route in routes.yaml (Settings → Labs) mapping /llms.txt to a template; otherwise the Q&A markup above is what makes your site citable.

Verify it's live

Open your-site.com/llms.txt in a browser: you should see the file in plain text. Then test a page in Google's Rich Results Test to confirm the Q&A JSON-LD is detected. Until both checks pass, AI engines see nothing.

About the author

Joffrey

I built Citeable after watching sites pay a freelancer €95-100 for GEO done by hand. I wanted a tool that does it in 5 minutes, cleanly, and proves the result.

Analyze my site