# Adding llms.txt to a Webflow site

> Webflow can't serve an arbitrary root file by default, but you can host your llms.txt and point /llms.txt at it. Here are the practical options.

Webflow doesn't serve a plain-text file at the site root out of the box, but a couple of practical paths get a real [llms.txt](/guide/what-is-llms-txt) live at `yourdomain.com/llms.txt`.

## Option 1 — Host the file + 301 redirect

Upload your `llms.txt` somewhere it serves as plain text (Webflow's asset manager, or any object storage / CDN). Then in **Site settings → Publishing → 301 redirects**, redirect the root path to it:

```
/llms.txt  →  https://cdn.example.com/llms.txt
```

A crawler requesting `/llms.txt` follows the redirect to your file. Simple, with no extra infrastructure if you already have somewhere to host the text.

## Option 2 — A reverse proxy / edge (most robust)

If your Webflow site sits behind Cloudflare (or similar), serve `/llms.txt` directly from a small edge worker that returns your text with `Content-Type: text/plain`. This keeps the canonical root URL with no redirect hop — the cleanest result.

## Make it discoverable

Either way, add a footer link to `/llms.txt` and, via custom code in the page `<head>`, a `<link rel="describedby" href="/llms.txt">` so crawlers find it from your pages.

## Curate and validate

Keep the file short — a title, a one-line summary, and your most important pages under H2 headings, with absolute HTTPS links. Then paste your domain into the [validator](/) to confirm it's reachable and every link resolves.

On a fully hosted builder instead? The mechanics differ — see [llms.txt for Squarespace](/guide/llms-txt-for-squarespace) (a URL Mapping redirect) or [Wix](/guide/llms-txt-for-wix) (a built-in SEO tool).
