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?

📅 October 10, 2026 Eye 10

First, clarify which layer needs to be blocked: The exclusion rules in the file block crawling, while the exclusion tags on the page block indexing. To prevent the page from appearing in search results, use page-level exclusion tags while ensuring that the crawling party can still read this page; Writing a prohibition rule in the robots file does not mean that it will not be included. There are explicit documents at the protocol level, stating that pages blocked by the robots file may still be included if there are other sources pointing to them. They manage two different things.

They manage two different things.

Crawl control determines whether 'this address can be read', index control determines whether 'the content read should appear in the results'. The Disallow in the robots file acts on the former: after the path is blocked, the crawler will not request this address.Page exclusion tags (commonly noindex and similar) affect the latter: The crawler still requests and reads the page and knows from the tags or headers in the response that this page should not be indexed.In the public document, that sentence 'The spider still needs to access the resource to read the header information and meta tags' refers to this dependency - the exclusion tag must be effective, and the page must be accessible.

Why only writing file exclusion rules can cause omissions.

Because blocking crawling will make the exclusion tags unreadable. Once the path is prohibited in the file, the crawler cannot obtain the page content, nor can it see the exclusion intention written on the page; and if this page is still linked by other pages, the indexing side can retain a record based on the link and existing URL information, presented as a

Which one should be used for the preview page and parameter address?

Draft links within the site require preview parameters to access. This type of address belongs to the category that needs to be indexed: it is readable to the outside, but the content is not finalized, and it will appear as an old version or a half-finished page if included in the index. The division of labor is as follows: preview and unissued content use page-level exclusion markers,配合 parameterized addresses not to enter the sitemap; batches of background directories, attachment directories, and other paths that do not need to be crawled are blocked by file-level rules to save quotas. The site's robots configuration is responsible for generating and maintaining rules at the file level, while the intention at the index level should be reflected on the page.

Configuration sequence and verification method

Purpose Which one to use Prerequisites Common misuse
Do not appear in the results Page-level exclusion mark This page can still be crawled Prohibit this path only in files
Preview and parameterized address Page-level exclusion mark Do not write parameter address in the list When the official page is pushed together
The entire background directory saves quota File-level exclusion rule The directory does not contain content that needs to be indexed Use it as a means of not including
Content that has been taken offline has been included Exclude tags or return a correct status code Wait for the re-crawl to take effect Directly block crawling

In terms of sequence, first define the page-level intent, then define the file-level scope, to avoid the latter blocking the former. Verification needs to wait for the re-crawl, and changes will not take effect immediately in the results; at the same time, check the two places of pseudo-static and site map: if this address is still on the list, or there are still links pointing to it within the site, there is a reason to continue retaining it in the indexing side. Official documents that have been taken offline should be removed from the list, rather than left in it depending on the exclusion tags to cancel each other out.

Common questions

Ask: If the exclusion mark is added but it is still in the results, does it not take effect?Answer: First, check if this path is blocked by file rules for crawling - if you can't read the page, you can't read the mark. Second, check if a re-crawl has occurred, as there may be delays in index-level changes.

Ask: How to block the whole site test period?Answer: You can use access control or file-level rules in the test environment; once the domain is to be officially launched, change each item to page-level intent to avoid formal content being unreadable due to file rules.

Ask: Do you need to write rules individually for addresses with parameters?Answer: No need. The principle of handling parameter addresses is not to enter the list, not to give formal indexing intent, which is more convenient than writing exclusion rules one by one and is less likely to be omitted.

Related articles

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

When controlling AI-based scraping programs, the Robots exclusion rules express intent rather than enforcement: they are issued according to the path and program identifiers, and rely on the scraping party to comply voluntarily. They cannot control addresses that have already been linked out, nor are they access control. When enforcement is needed, the focus should be on server-side authentication and the paths not being publicly readable; to prevent content from being moved in one piece, there are also interference codes and anti-crawling measures. The three things should not be mixed into one layer.

2026-10-09

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

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

What steps should be taken to follow up on the WordPress 7.1.2 fix for unauthorized reading of local files on the enterprise site?

WordPress 7.1.2 is a security version released on September 22, 2026, which fixes a unauthorized attack issue: Under certain conditions, attackers can allow the page template to parse read local PHP files outside the active theme directory, and under certain environmental prerequisites, it can develop into remote code execution. The official severity level is critical, and the fix has been rolled back to the branch that is still receiving security fixes. For enterprise stations, follow the four steps of backup, upgrade, check entry, and file review.

2026-10-10