After AI training crawling and AI search crawling are divided into two categories, how to write the robots file without affecting indexing?

📅 2026-10-25 👁️ 0

After dividing AI training crawling and AI search crawling into two categories, the writing of the robots file should no longer be 'completely blocked' or 'completely open.' The industry practice has been clarified: blocking the training crawling while retaining the search crawling can still allow the page to enter the AI answer's citation scope. To avoid damaging the inclusion, you should answer three questions before writing the rules, and there must be an inspection step after the modification, and it is clear what the robots, site map, llms.txt, and link push each manage.

Why do the two types of crawling need to be separated

The goal of the training type crawling is to incorporate content into the model corpus, and the boundaries that webmasters are concerned about are usually whether the content assets are absorbed in the long run; the goal of the search type crawling is to retrieve information in real time, and the page being cited will bring traceable access sources. The two types of intentions are different, and their impact on the site is also different, so controlling them separately according to their purposes is a reasonable granularity. Mixing the two types together and sealing them into a switch is a common consequence, which is not much to stop the training, but rather to close the accessible entry first.

The three questions before writing the rules

Question 1: Should this directory not have been crawled in the first place? Background paths, preview links, in-site search results pages, and list pages with filtering parameters are part of the 'ban before discussing AI' section. These should also be handled even though they are unrelated to AI.

Question 2: Is the ban for copyright boundaries or to save crawling budget? The wording is different. Saving budget should be controlled by parameter rules and site map priority, not by blocking the entire content directory.

Question 3: Do you still want to be cited after the ban? If so, a passage should be left for search engine crawling, and the premise of 'content will be read in real time' should be accepted.

Location Type Recommend processing Description
Background and interface path Prohibit all crawling without exception Basic hygiene unrelated to AI
List page with filtering or sorting parameters Prohibit or converge Avoid repeated crawling to waste budget
Preview and draft link Prohibit Prevent unsubmitted content from being included
Official content page Categorize accordingly Training class can be handled according to strategy, search class retained
Sitemap file Explicitly allowed Keep the path open for crawling to be discovered

How to write specifically

Adhere to three principles in writing. First, write rules by grouping according to crawling identifiers, rather than using a global rule to cover all crawlers, because different crawlers have inconsistent parsing capabilities for the same instruction. Second, the instructions should be written in a verifiable form: when prohibiting a directory, write the path in full, and avoid using overly broad matching to take away the content directory. Third, after making changes, check the logs, the actual effect of the robots.txt file depends on whether the crawler complies with it, and the paper rules are often inconsistent with online behavior.

AnQiCMS's robots configuration is completed in the background, no need to modify the file directly; the same site can also configure 301 redirection and static URL rewriting, which will affect the crawling path. When modifying robots, both should be checked together to avoid errors such as 'robots have been allowed, but the redirection points to a prohibited directory.'

How to self-inspect after modification

Suggest following this order:

  1. Directly access the robots file address in the browser, confirm that the content is consistent with the background configuration and is not cached with an old version;
  2. Check the crawlable status of specific pages using a crawling tool, focusing on whether the blocking rules mistakenly hit the content pages;
  3. Check the crawling statistics in the search console or similar tools, confirming that the decrease in crawling volume after the ban is the directory you plan to converge;
  4. Observe the changes in indexing and citation, as search crawling being blocked will be reflected in the inclusion and citation, usually not appearing on the day, so leave an observation window to judge;
  5. Keep a record of changes that can be rolled back, AnQiCMS supports backup of data and static files, and leave a copy before and after configuration changes that can be restored quickly.}

Work division with sitemap, llms.txt, and link push

These four things are often discussed together, but actually they each manage a section:

  • robots manage 'whether to crawl'
  • The sitemap (sitemap) manages 'where to find pages', AnQiCMS supports automatic generation;
  • llms.txt manages 'entry explanation for large models', automatically generated by the system, allowing the model side to read the site structure and key pages;
  • Link push and active push manage 'when new content is known', responsible for timely notification of updates to search engines.

Only write robots without mentioning the sitemap is like turning on the door switch but not telling the other party where the entrance is; only placing llms.txt but blocking the content directory in robots, even if the file is written perfectly, there will be no crawling. Aligning the four in order is the complete crawling control plan.

Common questions

Will blocking the training class crawling affect the natural search inclusion?

It will not have a direct impact, as long as you only write rules for training class identification and retain the search engine itself and search class crawling. The risk point lies in the broad writing, be sure to check the content page status according to the self-inspection list.

Can it be prohibited only in robots without additional measures?

Robots are request-based constraints that depend on the compliance of the crawling party. If the goal is stronger technical isolation, it is also necessary to combine server-side authentication and access frequency control, leaving sensitive interfaces within the scope that requires logged-in status.

How long after changing the rules can you see the change in inclusion?

It depends on the crawling frequency and index processing, usually lagging behind by days. When judging, do not just look at the daily data, but at least cover a complete crawling cycle.

Related articles

The revision needs to batch replace keywords and links, how to replace the entire site without damaging the text.

When replacing keywords or links in the whole site, first lock the word table and target links in the keyword library, and then use the AnQiCMS site-wide replacement tool to execute in batches by range; entrust the keyword links in the text to anchor text management for unified density control, and coordinate with 301 redirect to retain the existing weight of the changed URL part. Backup before execution and run a small sample test to have a rollback path.

2026-10-25

Can deleted documents be recovered, and will the draft preview link be seized?

Deleted documents are usually recoverable: Deleting formal documents in AnQiCMS moves them to the recycle bin instead of deleting them physically, and they can be restored from there; if the recycle bin is cleared, data backups are the only way to recover.

2026-10-25

Moving thousands of historical posts, compressed package import and table import each handle what kind of data

When moving historical content, articles with text and images are suitable for creating ZIP compressed packages for batch import, and field-based directory content is suitable for Excel table import; before importing, align the column names with the custom fields of the custom content model, and use the document content import interface with title-based duplicate checking when dealing with large amounts of data or when resuming at a breakpoint, to avoid writing the same topic twice.

2026-10-25

One-click deployment of self-built websites with Docker images and panels, which port and backup should be determined first?

Docker镜像与宝塔面板一键部署aretwomainpathwaysofself-builtwebsites:Thefirstlayersonenvironmentconsistencyandmigration,thelatterlayersonoperationsvisualization.Theorderoflaunchshouldfirstdefineapplicationports,thenconfigurereverseproxy,finallydefinebackupstrategy:defaultlistenon8001portfreepasstypethedatabackupfrequencyofstaticfilesandrecoverydrillverificationsteps.

2026-10-25

TheversionchangedURLstructure,howtocoordinate301redirectsandthesitemaptoavoidlossofinclusion.

The sequence to reduce the loss of inclusion after the version update and URL structure change: first lock the new pseudo-static rules to ensure address stability, then configure 301 redirects according to the old page correspondence one by one, followed by regenerating and submitting the site map, using link push to actively inform of the change, and finally verifying the jump chain and inclusion status according to the checklist item by item.

2026-10-25

How do the fields and tags correspond between the Chinese and English stations?

When the Chinese and English stations share a set of content models, the field correspondence should follow the principle of 'define structure first, then language': use a custom content model to define bilingual common fields, maintain Chinese-English matching words with a keyword library, the whole page HTML translation is responsible for the final draft, and multi-site management is responsible for switching and isolating. This article provides common errors in field mapping and the implementation methods of label correspondence.

2026-10-25

Before importing tens of thousands of documents in bulk, you need to confirm which few things

Before importing tens of thousands of documents in bulk, you need to confirm the field mapping, duplicate check, batch rhythm, and rollback path. This article takes the AnQiCMS ZIP and Excel batch import, and document content import interface as an example, explaining the inspection methods before import, and how to recover after import errors using the recycle bin and backup.

2026-10-25

What are the recovery methods available in the background if an article is deleted or modified

First, determine whether it was a deletion error or a modification error. In AnQiCMS, the deletion action is to move the formal document to the recycle bin, not a physical deletion, and it can be restored from the recycle bin; for modification errors, check if there are draft and historical versions of the pending release status. If there are no rollback versions available, there is only the last line of defense, which is the data backup, and the backup range should include static files, and it should be verified regularly whether it can really be restored.

2026-10-25