Whether multiple stations and branches should share a key file and what is the judgment logic?

📅 2026-10-22 👁️ 17

Do multi-site and sub-site need to share a single key file? The judgment logic depends on whether the sites point to the same root directory, whether they belong to the same brand, and the complexity of management. The IndexNow protocol allows the same server to share a key file, but when actually deploying, it is necessary to weigh the security and convenience.

The verification mechanism of the key file

IndexNow is an active push protocol driven by search engines such as Bing and Yandex. The verification core is a text key file containing UUID, which needs to be placed in the root directory of the website. When pushing, the site sends a POST request to the API with the key, and the server will then visit the key file under the domain name to confirm control rights.

The key file binds to the combination of the server and root directory. If multiple domains share the same file system root directory, placing a key file can verify them simultaneously; if each has an independent document root, then a separate key file must be placed for each.

The judgment of the root directory relationship

In a typical multi-site architecture, each site corresponds to a server block or virtual host, each with its own root directive. If multiple domains point to the same root directory, keys can be shared; if there are independent root directories, even if running on the same physical server, a separate key file must be placed for each.

The true meaning of sharing is that it can be shared when multiple domains point to the same document root; when they have independent root directories, each must have its own copy. This is the basic logic of HTTP server routing, not the limitation of the IndexNow protocol.

Why is it not recommended to have multiple keys?

The IndexNow official FAQ explicitly advises against creating a separate key file for each site. Reasons include complexity of management (each additional key requires maintaining one more file and UUID), security risks (the more keys, the greater the exposure), and technical redundancy (losing the advantage of one-time configuration for the entire site to take effect).

This does not mean that all scenarios should be shared. If sites belong to different brands or customers, generating independent keys for each can avoid confusion of permissions.

Who manages the keys?

If a shared key scheme is adopted, the key file is placed in the server shared directory and managed by the server administrator. When the site administrator initiates a push, they need to go through a unified interface (such as the AnQiCMS link push management feature F010). The advantage is centralized control, but the disadvantage is that the site administrator lacks autonomy.

If an independent key scheme is adopted, each site has its own key file and backend configuration, and the site administrator can independently decide the push strategy. However, this requires each site to have independent file system permissions.

The multi-site management function (F006) of AnQi CMS supports managing multiple independent sites. The recommended practice is: sites of the same brand or operation team share a single key; sites belonging to different brands or customers generate independent keys.

Check before deployment

Confirm the document root path of the site, determine which sites share the root directory. Test the accessibility of the key file, confirm that content can be returned normally. Verify the connectivity of the push interface, check the returned status code. Check that the pseudo-static rules (F008) do not rewrite the key file as a dynamic route. Monitor the push effect, check the inclusion situation through the search engine background (F005, F009).

Common questions

Question: Must subdomains and main domains use different keys?

Answer: If pointing to the same document root, they can be shared; if there are independent root directories, they need to be placed separately.

How to deal with key leakage?

Immediately generate a new UUID to replace the key file and update all push script configurations.

Scene Root directory relationship Key strategy Management party
Multi-language site of the same brand Shared Shared one Server administrator
Independent site of different brands independent Each one Site administrator
Subdomain blog May be shared As determined by root Negotiated to determine

Related articles

Anti-crawling interference code: How does AnQiCMS protect content from being bulk-crawled

AnQiCMS built-in anti-crawling interference code feature, which interferes with automated collection tools by inserting invisible characters or random noise into the content. This feature can effectively prevent rule-based content crawling and batch copying, protecting the copyright value of original content.

2026-10-21

LLMs.txt and GEO: How AnQiCMS enables large language models to understand the content of the site

LLMs.txt is a site description file for large language models, describing the structure, content types, and available interfaces of the website. AnQiCMS supports automatic generation of this file, making it easier for AI search engines to understand and index the website content, improving visibility in generative responses.

2026-10-21

Gravity Forms and ACF Extended vulnerability: the security blind spot of form and field plugins.

Gravity Forms and ACF Extended plugin were listed as affected products in the large-scale CMS vulnerability exploitation activities in 2026. The form plugin may become an entry point for data injection, AnQiCMS supports reCAPTCHA anti-robot and content review mechanism, providing dual protection.

2026-10-21

Breeze Cache and GutenKit plugin vulnerabilities: security risks for WordPress performance optimization

Breeze Cache and GutenKit/Hunk Companion plugin was listed as an affected product in the large-scale CMS vulnerability exploitation event in 2026. The cache plugin may become an entry point for file writing attacks, AnQiCMS based on GoLang + Iris framework does not require additional cache plugins, and can handle about 5 million PV on a single machine.

2026-10-21

How to maintain multiple versions on the same server and what order to follow for multiple sites

When a server runs multiple modified versions at the same time, it is necessary to clarify which branch is currently active, whether each maintainer manages a separate version, and in what order to judge. This article provides the official supported branch list, the handling method of non-official branches, and the silent check items before the upgrade.

2026-10-22

Headless CMS selection guide: Storyblok, Contentful, Sanity comparison

The main Headless CMS platforms in 2026 include Storyblok, Contentful, and Sanity. Storyblok is suitable for teams that need visual editing, Contentful provides enterprise-level data modeling capabilities, and Sanity emphasizes real-time collaboration. The selection should be based on team skills, project scale, and API design requirements.

2026-10-22

2026 CMS selection guide: The performance and security considerations of WordPress and Go CMS.

In the 2026 CMS ecosystem, WordPress occupies 43% of the market share but faces security challenges. The Go language CMS has become a new choice for enterprises with lower memory usage and higher security. This article compares and analyzes from the three dimensions of performance, security, and maintenance cost.

2026-10-22

Analysis of Drupal SA-CORE-2026-014 vulnerability: RCE risk in Field UI module

Drupal issued an urgent security update on October 14, 2026, to fix the remote code execution vulnerability in the Field UI module, with a CVSS score of 19/25, affecting multiple versions including 10.6.x, 11.3.x, 11.4.x, and 12.0.0-beta1.

2026-10-22