llms.txt and AI crawler access: missing files and blocked bots
The llms.txt file is a proposed convention, a short Markdown summary of your site for AI tools. No search engine promises to use it, so treat it as a helpful extra. Checks flag a missing or malformed file, broken links, a wrong content type, a missing full version, and robots.txt rules that block AI search bots. Decide your policy on purpose and write it down.
How the problem happens
The file is never created, or it is served by a catch-all page that returns the theme error page with a successful status. Bot rules are copied from a template and block more than the owner intended.
Why AI crawler access and llms.txt matter, and what they do not promise
AI assistants reach your site in two ways. Search bots fetch pages to answer a question right now and can cite them; training bots collect content for future models. Each uses its own name in robots.txt, so one blanket rule can block the bots that bring citations along with the ones you meant to refuse. If a search bot is blocked, that assistant cannot fetch your pages directly to answer a question, so a direct citation becomes unlikely; it may still mention the site from other sources, but good content does not lift the block.
The llms.txt file is a proposed convention: a short Markdown summary of your site with links to its key pages, written for language models. It is not a standard that every assistant honors, and it does not guarantee any use or citation. Its value is modest but real: a clear, accurate summary in one predictable place that a system can read cheaply. A broken or outdated file does harm, because assistants may repeat an old phone number or describe the wrong business.
How to check AI access and llms.txt by hand
Read your robots.txt with AI in mind. List the groups by user agent and note which search bots and which training bots are allowed. The key trap is the bot-specific group: a crawler that finds a group with its own name obeys only that group and ignores the * rules, so a group that allows one bot can accidentally open paths such as /admin/ or /api/ that the general group closes.
Then request https://example.com/llms.txt with curl -i. You should get status 200 and a content type of text/plain or text/markdown in UTF-8. Open it and check the structure: one H1 with the name, a short summary in a > quote, and sections of links. Follow every link and confirm it loads and can be indexed. Finally compare the facts in the file, such as the business name, phone, email and address, with the live site. An optional llms-full.txt may hold the full text of the key content.
How to fix AI bot rules and llms.txt
Decide the policy first, then write it. A common position is to allow the search bots so the site can be cited and to decide separately about training bots, which is a business choice. Give each bot you treat differently its own group, and repeat the disallow rules for private paths inside every group that names a bot, so none of them gets broader access than intended. The example shows one search bot allowed and one training bot blocked.
Write llms.txt by hand or generate it from your page list: the name, a one or two sentence description, then sections such as key pages, products and contact details, each link with a few words about what the page holds. Link only to working pages that can be indexed and keep the facts identical to the site, ideally from the same source. Serve it as plain text or Markdown in UTF-8 and review it whenever contact details or the structure of the site change.
# Example Ltd
> Example Ltd sells reusable water bottles and ships across Europe.
## Key pages
- [Products](https://example.com/products): full catalog with prices
- [Shipping and returns](https://example.com/shipping): delivery times and return rules
- [Contact](https://example.com/contact): phone, email and address
# robots.txt: search bots allowed, one training bot blocked
User-agent: OAI-SearchBot
Allow: /
User-agent: GPTBot
Disallow: /How RankDossier detects AI bot and llms.txt problems
RankDossier reads robots.txt and llms.txt. The checks in this family test whether llms.txt exists, whether it follows the expected format, whether its links work, whether the content type is suitable and whether the optional llms-full.txt exists. They also report whether AI search bots are blocked, show the policy for search and training bots as information because the training choice is yours, flag a bot-specific group that overrides the general rules, and compare the phone, email, address and name in llms.txt with the site.
Each finding says which line or link caused it. Test the file with the llms.txt checker and the bots with the AI bots in robots.txt. The llms.txt guide explains the format in depth, the guide to controlling crawlers compares the ways to allow and block, and the generative engine optimization guide places these files among the other signals.
Wrong and right
Wrong
GET /llms.txt -> 404 text/html (the theme's error page)
Right
# Example
> One sentence about what the site offers.
## Key pages
- [Pricing](https://example.com/pricing): plans and prices
How to fix it
WordPress
Place llms.txt in the web root or use a plugin that serves it, then open the address in a browser and confirm that plain text appears, not a theme page.
Next.js
Add the file to the public folder so it is served at the root, and keep its links in sync with the pages that exist.
public/llms.txt # served at https://example.com/llms.txt
Nginx
Serve /llms.txt as text/plain with the UTF-8 charset and a successful status, and do not let a fallback rule return the home page for it.
location = /llms.txt {
default_type text/plain;
charset utf-8;
}
Check codes in this family
These checks belong to this family. Each code appears in the audit report with its own explanation and fix.
LLMS_MISSINGllms.txt is missingLLMS_FORMATllms.txt does not follow the formatLLMS_BROKEN_LINKSBroken links in llms.txtLLMS_CONTENT_TYPEllms.txt has an unsuitable Content-TypeLLMS_FULL_MISSINGllms-full.txt is missingAI_BOTS_SEARCH_BLOCKEDAI search bots are blockedAI_BOTS_POLICYAI bot policyAI_BOT_GROUP_OVERRIDEA bot-specific group overrides general rulesLLMS_DATA_MISMATCHllms.txt does not match the site
Related check families
Read the full guide What is llms.txt and should your site have one? for the wider picture. Test one page for free with the llms.txt checker.
Check your own site
Enter a domain – the free pre-check reads up to 10 pages and shows how many types of problems it finds. You pay only if you want the full report.
Start the free pre-check