When blocking training crawlers, first identify the identity of the robot, and control access and reading paths.

📅 2026-11-01 👁️ 0

When configuring AI crawler strategies, access control is handled by robots.txt, and reading paths are handled by llms.txt, which cannot be substituted for each other. A more common pitfall is confusing identifiers: GPTBot is not equal to OAI-SearchBot, ClaudeBot is not equal to Claude-SearchBot, the same prefix of search and training purposes are two uses, and the error group will also close the entry referred to by the answer engine.

Two files handle different matters

A decision matrix for AI crawler access control splits this into two sentences: robots.txt controls access, llms.txt controls navigation.The former determines whether a certain identifier can capture a path, which belongs to the permission layer; the latter provides a structured reading order to the model after it has entered the page, which belongs to the navigation layer.The same material has also counted the number of mainstream identifiers: there are eight main AI crawlers with different calling behaviors, so the rules should be written by function groups instead of using a wildcard to reject the entire user agent string.If you only want to use it for training purposes and close the retrieval type at the same time, it is equivalent to giving up the qualification to appear in generative answers.

Write rules by grouping by purpose

Purpose Common identifiers Which part should be changed Typical mistake method
Model Training GPTBot, ClaudeBot Grouping rules for robots.txt Use wildcard to block all identifiers
Search and answer generation OAI-SearchBot, Claude-SearchBot robots.txt is placed separately Block with training type in the same group
Reading order of pages entered All released identifiers Description of llms.txt structure Thought it could replace access control
Traditional search discovery Search engine crawler Sitemap and link push Place the discovery in the configuration file

The configuration should be verifiable by the log

Check the log first: Count the distribution of requests by identifier, confirm that the search type is still accessing and the training type has stopped, and then see if the rejected ones are on the expected path. The internal AnQiCMS also provides robots.txt configuration and llms.txt auto-generation, the permission layer and navigation layer are maintained in the same backend to avoid each saying its own rules in two places;The generation of the site map is also here, the discovery process does not need to be assembled separately. It should be noted that the identification is declared by the crawling party, following instructions is an industry convention rather than a mandatory constraint, the meaning of configuration is to clearly express the intention and leave a traceable record, it does not constitute a technical isolation, and important content still needs to be protected by access restrictions and authorization.

Cooperation between gateway layer and log layer

The rules are written in the site, but the execution occurs in two places. The CDN or edge gateway's spider management often takes effect before the site, the configuration within the site only takes effect on its own directly connected crawling, when there is a discrepancy between the two sides, the one that hits first is taken as the standard, therefore, after changing the rules, it is necessary to check the response from both the edge and the source site separately.At least four columns should be left on the log side: time, user agent, request path, and status code. Grouping statistics by identifier is meaningful; just looking at the total number of visits does not show structural changes.If the site has enabled caching, you also need to confirm that the rule file has not been cached beyond the expiration time, and that changes have not taken effect, a large proportion of which is actually just the cache has not been refreshed.

Common questions

Question: Can only write llms.txt block training?Answer: No. It does not participate in access judgment, blocking training relies on grouping rejection in robots.txt and corresponding strategies on the edge gateway.

Question: Should case sensitivity be distinguished in the rules?Answer: The matching of user agent groups usually does not distinguish between uppercase and lowercase, path matching does, and if both allow and deny are written in the same file with the same conditions, it is usually taken as allowed first. Write the rules based on this assumption and check each item with the log.

Question: How long will it take to see the effect after the change?Answer: It depends on the cycle of the other party's re-fetching and caching, and the judgment is based on the change in the distribution of requests in the log, rather than whether the file itself has taken effect.

Related articles

AI robots visited tens of thousands of times, but no one read llms.txt; what does this ratio indicate?

A ninety-day observation recorded two types of numbers: AI robots visited the site more than sixty thousand times, of which only more than eighty times requested llms.txt. This ratio indicates that the file is not a collection switch and will not bring additional crawling; the model consumes the already caught page text, and what truly determines whether it can be cited is whether the paragraph can stand alone as an answer, and whether the conclusion is presented in advance.

2026-11-01

What is left of the remaining support period after Joomla 5.4 stops routine bug fixes?

Joomla official roadmap has written two lines for 5.x: Routine defect repair support ends on October 13, 2026, only security repair support ends on October 12, 2027. After the midpoint, there are no planned releases for functional and compatibility defects, security patches will still be available, and the final phase tasks include expanding the inventory, fixing patch windows, and recoverable backup drills, while site migration will prioritize batch import.

2026-11-01

How many costs will increase when an open-source content system shifts from self-hosting to managed hosting services?

The additional costs for shifting a content system from self-hosting to managed hosting services are concentrated in three areas: the billing method changes to per seat or per request, additional items such as environment and backup are listed separately, and there is a one-time expenditure for migration and reconstruction. According to the current standards, Strapi's self-hosted core platform is not charged, while the Contentful commercial tier is $300 to $900 per month, and the Lite tier starts at about $300 per month, so the price comparison window should be extended to five years.

2026-11-01

Self-hosted open source content systems cost fifty to three hundred dollars per month, when is it more cost-effective than subscription per seat?

Self-hosted Strapi or Directus backend costs about $50 to $300 per month, Contentful business hosting costs about $300 to $900 per month; hosting side also priced by seat, Strapi Cloud small projects start from $25 per month, Sanity's Growth tier starts from $15 per person per month. The crossover point is determined by the number of sites, request patterns, and whether there is existing operations staff, multi-site scenarios are easier to amortize the fixed items of self-hosting.

2026-11-01

The rankings are still fluctuating after the garbage update, what groups of data should webmasters review in the monthly review?

When the ranking fluctuates continuously after the algorithm update, the review order is to first divide the traffic source and query intent, then check the collection and site map health, and finally it's time for content rewriting. The main theme of the October webmaster circle is still the fermentation of the September garbage update, and at the same time, another message related to traffic is that the pilot of generative answers is divided to hundreds of publishers in a very small proportion, and looking only at the ranking curve will miss the changes in the source structure.

2026-11-01

Shared hosting costs $2 per month to $500 for dedicated servers, how to estimate the website billing according to which grade.

The common categories of hosting plans for website hosting are shared hosting costing $2 to $15 per month, VPS entry-level $10 to $50, high-end $30 to $100 and above, dedicated servers $100 to $500 and above, and domain names costing about $15 to $20 per year. The basis for selecting the category is concurrent traffic and data volume rather than the brand of the program; how many websites a single machine can host also depends on the resource overhead of the runtime stack.

2026-11-01

The monthly fee of the website building platform includes the hosting fee, and how to balance the bill when adding plugins to the content system?

The low monthly fee of the hosting website platform usually includes the host, bandwidth, and certificate, but the expansion slot is placed in a higher grade; the self-built content system pays for the host itself, and most structural changes are completed in the background configuration. To balance the bill, align the four expenses of host, domain name, expansion capabilities, and manpower within the same time window, rather than just comparing the price digits on the homepage.

2026-11-01

Open source release platform splits the welcome email into paid tiers, what are the missing links in member operation?

Splitting the welcome email into paid tiers solves the match rate of the first email, but what are the missing links in member operation? Such as: funnel statistics of entry process, permission and content visibility range by group, reminder points for expiration and renewal, as well as comments and interaction back to the operation list. Only supplement the welcome email, the middle section of the funnel is still invisible.

2026-11-01