跳到正文
DEV Community· Alex·· 47 分鐘前AI 評分48

llms.txt 是否有效?58 間新店中有 33 間採用,但未能區分哪些網站可被引用

Does llms.txt work? 33 of 58 new stores ship one, and it separated nothing

AI 導讀

在 58 間網域於 2026 年 10 月註冊的新店中,33 間設有 llms.txt,但有沒有這個檔案,未能區分網站能否被模型引用。較關鍵的是頁面有沒有值得引用的句子,以及有沒有標記哪段文字回答哪個問題;58 間店中只有 2 間使用 FAQ 標記。檔案中的連結若失效或重新導向,可能令模型判斷網站失效或引用錯誤網址。

正文

Cover image for Does llms.txt work? 33 of 58 new stores ship one, and it separated nothing

Alex

An llms.txt is a plain-text file at your root that summarises the site for a language model: a title, one sentence about the business, and a short list of links worth reading. The idea is that a model reads one small file instead of guessing which of forty pages matter.

It is a reasonable idea and it spread fast, which makes it measurable. In a sample of 58 stores whose domains were registered in October 2026, 33 already had one, and 50 had a working sitemap. Somebody is telling people to do this, and people are doing it.

where 58 new stores lose the quote

What the measurement showed

Having the file did not separate the sites that could be quoted from the sites that could not. The median store passed 11 of the 15 checks with it or without it. What separated them was whether the page contained a sentence worth lifting, and whether anything marked up which paragraph answered which question — 2 of the 58 had FAQ markup.

That is not evidence the file is useless. It is evidence the file is not the mechanism. It is a map, and a map does not put anything on the territory.

The version that is worse than nothing

A file listing URLs that do not resolve is worse than no file, because a model that follows the map concludes the site is broken rather than quiet. Two shapes show up constantly:

  • Templated links. Generators publish their route table instead of their sitemap: /products/{slug} returns 404 if a crawler takes it literally.
  • Links that redirect to the homepage. Worse than a 404. The claim that belonged to /pricing now resolves to a page that does not contain it, so the model either drops the citation or attaches the number to the wrong URL.

If you already have a file, the cheapest useful thing you can do today is request every URL in it. Not in a browser, which follows redirects happily: require a 200 with a canonical pointing at the URL itself.

How to write one that earns its place

  1. One sentence on what the business is, in the words a buyer would use.
  2. One sentence on who it is for, with a place name if it is local.
  3. Prices as numbers. A range is fine; "affordable" is not.
  4. Five to fifteen links to pages that answer questions, each with a four-word description.
  5. No placeholders, no templated paths, no redirects.
# Northside Dental
> A family dental practice in Mesa, Arizona. Cleanings from $95, no insurance required.

- [Prices and what is included](https://northsidedental.com/prices): every treatment, as text
- [Same-week appointments](https://northsidedental.com/booking): how booking works
- [Insurance and payment plans](https://northsidedental.com/insurance): what is accepted

Order of work

The file is the second hour. The first hour goes into the page, because that is what gets quoted: three plain sentences at the top, headings phrased as the questions buyers type, and markup around the answers the page already gives.

None of that is a file. All of it is text somebody has to write, which is exactly why it is the half still missing everywhere.

The free check verifies that /llms.txt resolves, that it is text rather than an HTML page, and that the links inside it return what they promise: citeai.tech

來源:DEV Community · dev.to