Should we block AI crawling, is it written in the exclusion rules or opened up another channel?

📅 October 9, 2026 👁️ 11

When the party wants to control the access of AI grab programs, should it use Robots exclusion rules or another method, the difference lies in the scope of coverage between the two: exclusion rules can express intentions, block the grab of those who consciously comply with the rules, but it is a grab suggestion rather than access control; when it is necessary to enforce, the mouth must be closed on the server-side authentication and the path not publicly accessible; if the purpose is to prevent the content from being moved in one piece, that is another level of protection, relying on interference codes and anti-grab measures. Each layer has its own position.

Does the exclusion rule express intention or enforcement?

The Robots configuration item issued from the background is the exclusion rule, whether to comply with it or not is decided by the crawling party. The public document wording makes this line very clear: such files are suitable for avoiding bandwidth consumption caused by crawling, a restrictive file is more effective than the index rule because it blocks the entire resource from crawling; but it manages the crawling, and the pages blocked by the file may still be included if linked from elsewhere. The same is true for AI crawling programs - writing exclusions is equivalent to giving a readable intent statement, whether it takes effect depends on whether the other party complies.

What does blocking by identifier and by directory do?

Writing style Scope of action Can block Cannot block
Exclude by program identifier Declare the behavior when the identifier is recognized Voluntarily comply with the rule of the crawling party Crawling party that renames or does not read the rules
Exclude by directory The entire path of the category is not requested Routine batch traversal Single address already taken out by external link
Server-side authentication Request enters the application after Unauthorized access Forwarded authorized session
Content layer protection Reuse of visible content Entire segment transportation and aggregation Manual extraction

The first two rows are on the 'Intention' side, and the last two rows are on the 'Compulsion' side. When only the first two rows are matched, the protection of sensitive directories is actually entrusted to the other party's conscientiousness.

At which level should it fall when forced?

The requirement to occur at the step where the server processes the request: whether this address needs identity, and with what identity can read what state content. The visibility of drafts and content to be published, the permissions to call back-end interfaces, and the exposure range set by the capability domain all belong to this layer. Entrusting the same thing to the exclusion rule to be completed will result in two side effects: one is that the path is written into the public file, which is equivalent to marking the existence of this directory; the other is that the rule blocks requests, but does not block people who have already obtained the address.

Another protection when the content is moved in one piece.

If the purpose is not to prevent access but to increase the cost of bulk transfer, the site uses another type of capability: anti-crawling interference codes are used to protect content from being bulk-crawled, and are配合 sensitive word filtering and content review, the points of action are all in the content presentation and reuse link. It should be distinguished from access control - interference codes do not prevent anyone from reading, they make the text obtained after crawling the entire page no longer clean and usable. When making original content sites, this layer is usually more effective than exclusion rules.

The relationship with the external list layer

There is an additional layer inside for retrieval and model use, an outward-facing list: the site map provides a full list of addresses, and the site llms.txt provides a guide convenient for large language models to understand. They decide what is 'seen', exclusion rules decide what is 'not to be caught', and server-side authentication decides who can read. It is easy for the three configurations to overlap, such as writing an entire directory into the exclusion rules but forgetting that the addresses in this directory also appear in the site map, resulting in one list being allowed and one list being intercepted.

Three-step verification before going online

Step 1, use an unlogged session to directly request excluded addresses to see if the return is content or rejection - if content is received, it means the protection is only at the intent level. Step 2, check that the list of external files does not list the addresses you want to block. Step 3, take a page of text to check if the presentation layer has added anti-crawling processing and confirm that the copied and pasted content is not the original structure. After completing these three steps, decide whether to further tighten the exposed range, which is more stable than writing the entire catalog into the exclusion rules at the beginning.

Common questions

Question: Can exclusion rules alone prevent AI from crawling?Answer: It can only block a part that is自觉遵守规则的,it is an intent statement, not an access control.

Question: What are the benefits and drawbacks of writing the back-end directory into Disallow?Answer: The benefit is to reduce the number of routine traversal requests; the drawback is that it labels the existence of the entry to the outside, and the real entry protection depends on authorization and login restrictions.

Question: If you don't want the content to be cited by a large model, should you turn off the external list?Answer: It needs to be clear about the purpose. Turning off the list reduces the range discovered, but the addresses that have been linked out are still accessible; the anti-crawling processing at the content layer solves another type of problem.

Related articles

The optional section marked as optional in the model description file, when will it really be skipped?

In the site description file for large models, only the line writing the site name is necessary, and the rest of the paragraphs may be omitted; the entry line consists of a mandatory link followed by an optional colon and description. Optional paragraphs are provided for the convenience of the reader when the context is not long enough, and when skipped, they do not lose major information but secondary information, so the main link should be placed in non-optional paragraphs. This file within the station is automatically generated and kept synchronized by the content module.

2026-10-09

Should child sites and sub-sites each have a separate key file, and how should the ownership be calculated when pushing?

When doing link push from multiple sites, the key file proves the host affiliation rather than the brand of the site: The open traffic channel treats each subdomain as an independent host and requires the creation and management of a separate key file for each subdomain, placed in the root directory of the site or a publicly accessible folder on the same host. Therefore, each sub-site should have its own copy, check the accessibility by host, and using a shared copy will fail at the affiliation verification step.

2026-10-09

How many addresses can be submitted in one push, and why do the two channels give different numbers?

The maximum number of single push items varies greatly between different channels, as the two numbers answer different questions: one channel provides how many addresses can be accommodated in a single request, and the other provides the limit of each submission operation plus the daily quota floating according to the account. Since the units are different, they cannot be directly compared in size. Batch submissions should be queued by channel capacity rather than stuffing all site addresses into a single request.

2026-10-09

Why is the forced automatic update enabled after the release of a secure version instead of waiting for the administrator to manually upgrade

The official mandatory automatic update for high-risk security versions is due to the fact that the repair window cannot rely on all site administrators being online at the same time: After a vulnerability is disclosed, there is often a very short interval between the release of the patch and its widespread exploitation. Entrusting the pace to individual decisions would result in a large number of sites remaining on unprotected versions. The mandatory update addresses the coverage, but does not mean that the repair is complete - it is necessary to leave a backup before the upgrade, and after the upgrade, the server key should be rotated and the administrator password changed according to the announcement.

2026-10-09

Don't want the page to appear in the search results, is it marked in the page or written in the exclusion rules in the file?

What needs to be blocked is whether it is crawling or indexing. The exclusion rules in the file block crawling, so content cannot be read if the page cannot be accessed; the exclusion tags in the page block indexing, on the premise that the page can be crawled. Simply writing file exclusion rules does not mean it will not be included: if a blocked page has external links pointing to it elsewhere, it may still be included in the index due to link information. To ensure it does not appear, use page-level tags and make sure they can be crawled and read; the site's robots configuration is responsible for file-level crawling control, and the two work in conjunction.

2026-10-10

The website returns 502 when opened, check the program or the gateway layer first.

First, check who sent this response. 502 means that the gateway or proxy server received an invalid response from upstream, which means that the request reached the gateway and the gateway tried to forward it, but the problem is between the gateway and the program; if the gateway cannot get any response at all, it returns a 504 or similar. Troubleshooting follows three steps: bypass the gateway and directly connect to the source station port, check the gateway error logs, and check the program process and port listening. The deployment form determines which machine to perform these three steps.

2026-10-10

When the interface is being attacked, should the speed limit be configured at the gateway layer or in the program?

Both layers are needed, but they are not blocking the same thing. The gateway layer limits speed based on source address and request rate, without looking at the business identity, and can reduce the volume before the request enters the program; the program layer knows who the caller is and what action is being taken, and can be set separately for login, comment, background, and other interfaces. Taking the nginx speed limit module as an example, the rate is represented by the number of requests per second, the default burst volume is zero, and the return code for exceeding the limit can be configured. First figure out which type of interface is being scraped, and then decide which layer to configure.

2026-10-10

Why should the script execution permission be removed from the upload directory, and at which layer is it blocked

Because the file content in the upload directory comes from visitors, the path is a location that the server can read and access. The meaning of removing script execution permissions is: even if script files are written in, they will only be returned as static content and will not be executed as programs. This type of restriction is more suitable for doing path matching separately in Web server configurations, the rule is to take the longest prefix, and regular expressions are matched in the order of appearance, so a stable matching configuration needs to be written for the upload directory. After making the changes, check the backup to avoid mistakenly damaging normal attachment access.

2026-10-10