Skip to content
FunnelGuard

Fix guide by FunnelsGuard

llms.txt outdated or linking to dead pages: how to fix it

SEO-387Low impactOther toolBy FunnelGuardPublished Updated
On this page

What this issue is

llms.txt is a plain Markdown file at yourdomain.com/llms.txt. It is a proposed convention: a short, curated map of your most useful pages, written for large language models (the AI behind tools like ChatGPT). It is not an official standard, and no AI company has promised to read it.

Why it costs you leads or sales

If a tool does read your file, it follows your own list of important pages. A dead link wastes that visit. An old pricing or plan page can lead the tool to repeat facts that are no longer true. A person who then lands on a 404 from an AI answer is unlikely to search again for you.

The cost is small because few tools depend on the file. It still sits in the same place as your other AI-visibility signals, so a broken one makes your site look unmaintained.

How a stale llms.txt loses a visitor
  1. AI tool reads llms.txtFinds your curated page list
  2. Follows pricing linkURL was removed in a redesign
  3. 404 or old contentNothing useful to quote
  4. Visitor reaches youNever happens

The break happens when the listed URL no longer exists.

How to check if your site has it

Audit your llms.txt
  1. Open the file

    Visit yourdomain.com/llms.txt. If you get a 404, you have no file (a different issue). If it loads, note the last time it was edited.

  2. List every URL

    Copy each link from the file into a spreadsheet or a text file, one per line.

  3. Check each status code

    You want 200. A 301 or 302 means a redirect, so replace it with the final URL. A 404 or 410 means the page is gone.

  4. Compare with reality

    Check that names, prices, plans and descriptions in the file still match your live pages.

Check every link in llms.txt (macOS/Linux)bash
curl -s https://example.com/llms.txt \
  | grep -oE 'https?://[^) >"]+' \
  | sort -u \
  | while read url; do
      code=$(curl -s -o /dev/null -w '%{http_code}' -L --max-redirs 0 "$url")
      echo "$code $url"
    done

Any line that does not start with 200 needs attention. Relative links will not be matched by this script, so use full URLs in the file.

How to fix it

Repair the file
  1. Replace redirected links

    Swap every 301 or 302 URL for the final destination.

  2. Fix or remove dead links

    If the content moved, use the new URL. If it is gone for good, delete the line.

  3. Update descriptions

    Edit the short text after each link so it matches current products, plans and prices.

  4. Keep it short and curated

    List only the pages you would want quoted: about, products, pricing, help, contact. Fewer links means less to go stale.

  5. Publish and recheck

    Upload the new file to the site root and rerun the link check.

Example llms.txt structuretext
# Example Company

> Example Company sells project software for small agencies.

## Key pages

- [Pricing](https://example.com/pricing): Current plans and prices
- [Features](https://example.com/features): What the product does
- [Contact](https://example.com/contact): Sales and support details

## Help

- [Getting started](https://example.com/help/getting-started): Setup guide
Where to edit the file by platform
  1. Find how the file is served

    It may be a physical file in the site root (edit by SFTP or your host's file manager) or generated by an SEO plugin. If a plugin makes it, edit it in that plugin's settings, if it has them.

  2. Replace the links

    Update the URLs, save, then clear any page or server cache so the new version is served.

How to confirm it's fixed

Confirmation checks
  • yourdomain.com/llms.txt returns 200
  • Every URL in the file returns 200 with no redirect
  • Link text and descriptions match the live page
  • Prices, plan names and contact details are current
  • No removed products or old campaigns are listed
  • The cached copy is cleared (open it in a private window)

How to prevent it happening again

Most stale files come from site changes that nobody tied back to llms.txt. Make it part of the change process.

Prevention habits
  • Add llms.txt to your launch checklist for redesigns, migrations and renames
  • When you set a 301 redirect, also update the file
  • Keep the list short so there is less to maintain
  • Run the link check script monthly, or in your deploy pipeline
  • Review it each time you change pricing or plans
  • Give one person ownership of the file
How a file goes stale (example)
  1. Month 0

    You publish llms.txt with 8 correct links

  2. Month 3

    Pricing page moves to a new URL; a redirect is added

  3. Month 6

    An old resource page is deleted

  4. Month 9

    Two links redirect, one returns 404 and a plan name is wrong

How FunnelGuard handles this

FunnelGuard does not check llms.txt today. A check for it is a possible future addition, but it is not available now.

What FunnelGuard does cover is the customer journey itself: a robot visitor runs your lead forms, checkouts and booking or chat buttons on a schedule, checks tracking hits and test leads, and sends one alert with a screenshot if something fails. That can reveal a broken page in a journey, but it does not read your llms.txt file.

To watch llms.txt, run the curl script above on a schedule (a cron job or CI step) and email yourself any non-200 result. A general link checker or uptime tool that can monitor a list of URLs also works. Otherwise, add a monthly calendar reminder to review it by hand.

Questions people ask

What is an llms.txt file?

It is a Markdown file at the root of your site that lists your most useful pages with short descriptions, written for AI tools. It is a proposed convention, not an official standard, and support varies between AI providers.

Why does my llms.txt link to pages that return 404?

The pages were probably deleted, renamed or moved after you wrote the file. The file does not update itself, so links stay as they were until someone edits them.

How do I check if the links in llms.txt still work?

Copy each URL from the file and check its status code with curl, a browser or a link checker. You want 200 for every one. Replace any 301, 302, 404 or 410 result.

Should llms.txt links redirect to the new page?

No, list the final URL directly. Redirects add a hop and may not be followed by every tool. Keep the redirect on the server for visitors, but update the file.

How often should I update llms.txt?

Review it whenever you change URLs, pricing, plans or products, and at least once a month by running a link check. A short file is easier to keep accurate.

Does a broken llms.txt hurt my Google rankings?

There is no evidence that Google uses llms.txt for ranking. The risk is that AI tools reading it get dead or outdated pages, which hurts accuracy rather than search rankings.

Does FunnelGuard monitor llms.txt?

No. FunnelGuard does not check llms.txt at the moment, although it is a possible future check. You can monitor it with a scheduled curl script or a link checking tool.

Does FunnelGuard catch this?

Other tool

Needs a different kind of tool.

Stop finding out from your customers

FunnelGuard runs your real forms and checkouts on a schedule, checks the tracking and the leads behind them, and alerts you once, with a screenshot. Try any paid plan free for 3 days.