What is the single file limit of the site map, and how to split it into index files when the URL exceeds ten thousand?

📅 2026-10-13 👁️ 15

The question of how many URLs a single sitemap file can contain, and how to split when the scale exceeds the limit, is a problem that many large-scale websites will inevitably encounter. The answer is not in the settings of a particular system, but in the sitemap protocol itself: the protocol sets a limit on the number of entries and the size of a single file, and it must be split if it exceeds the limit. An index file is used to organize multiple sub-maps. Understanding where the limit comes from and how to split by dimension is essential to ensure the stability of the sitemap on large websites, rather than discovering that the sitemap exceeds the limit only after the inclusion issues arise.

Who determines the limit of a single file?

The limit comes from the Sitemap protocol, not from a platform or a set of systems. The protocol specifies two constraints for a single Sitemap file, and either one should be split if encountered; the index file itself also has a limit on the number of entries. Below is the comparison.

object Protocol limit
Number of URLs contained in a single Sitemap file Up to 50,000 entries
Uncompressed volume of a single Sitemap file Not exceeding 50MB
Number of sub-maps listed in a single Sitemap index file Up to 50,000 copies

Need to remind: The number of items and volume here are the limits for a single file, relying on index files to break through the total size limit. Therefore, the way to truly support ultra-large sites is not to stuff all URLs into a single map, but to use a hierarchical structure of 'index file + multiple sub-maps'.

After exceeding the limit, what dimension should be split by?

Splitting is not a mechanical process of cutting every few lines, but rather selecting a dimension that is meaningful for both collection and operation. There are commonly three types. Split by column or content type, with news, products, and documents each forming a group for easy problem grouping. Split by update time, separating frequently updated active content and rarely moved archived content, so that the engine can more frequently capture the active group. Split by language or site, with each set forming an independent group in multi-language and multi-site scenarios, with clear boundaries.

After the split, use a Sitemap index file to register each sub-map, so the engine knows which sub-maps can be crawled. Keep a clear structure of 'one index pointing to a group of sub-maps' on the hierarchy level, avoid the same URL appearing in multiple sub-maps, and reduce unnecessary crawling waste.

How can we confirm that the new group is still being crawled after the split?

After splitting into multiple sub-maps, the most likely to be missed is that the 'new group has not been registered or pushed'. The site map provides a full list, but it does not guarantee timeliness - the content that has just been released or changed, relying on the map engine to scan is often not fast enough. At this time, active push should be used to make up for it: the system built-in Sitemap is automatically generated and supports active push of links to search engines to accelerate the inclusion of new content. The new sub-maps split out should be indexed and included in the active push scope after generation, rather than just generating files without notifying the engine.

That is to say, the sitemap solves 'full disclosure', active push solves 'timely change', and both need to be coordinated to be complete. The large station needs to align this chain when splitting the map, so as to cover both historical full amount and the timeliness of new and updated.

Common questions

Should it be split if the URL is not up to 50,000?It can be not split when the scale has not reached the top, but it is better to group it in advance according to the column or update frequency, usually better than being forced to split all at once in the future.

What is the relationship between the index file and the sub-map?The index file itself does not list specific content URL, only registers the addresses of various sub-maps, which is equivalent to a 'catalog of maps'.

Do you need to actively push after splitting?To. The map is biased toward full amount, the push is biased toward timeliness, the new group is included in the link to push actively, so that the newly published content can be included faster.

Related articles

What should be prepared in advance for port and data backup when deploying the enterprise website with Docker?

Before the enterprise website is deployed with Docker, it is necessary to plan the two things of port mapping and data backup in advance. The system provides the official image, listens to the default port 8001, and needs to clarify the internal and external port mapping and access entry before going online; at the same time, the backup capability covers data and static files, which can be restored to avoid the loss of content after the container is rebuilt.

2026-10-13

How can new content be promoted faster to search engines, what do site maps and active push handle?

The site map manages the full volume handover, capturing all addressable URLs in the site at once; the proactive push ensures timely submission, immediately notifying the engine of new and updated addresses. To be indexed faster, both steps must be taken: first, confirm that the page status is a formal document and enter the automatically generated site map, then use link push to Baidu, Bing to push the address, and cooperate with stable static URLs to avoid duplicate versions.

2026-10-13

Robots.txt is not wrong but missing page capture, check these three places first.

The robots.txt is not written correctly, which is not a common cause of missed crawling. It is more effective to investigate in three places: first, confirm that the robots instruction is only for crawling, then check if the sitemap really hands over the page to be crawled, and finally, check the page's own blocking settings and address specifications. AnQiCMS supports automatic generation of robots configuration and sitemap, and both should be consistent with the actual address.

2026-10-13

After changing the pseudo-static rules, will the old links that have been indexed break, and how to make a safety net?

Changing the pseudo-static rules will make the old addresses no longer correspond to the original pages. Whether there will be a broken link depends on whether a list has been made in advance and 301 redirects have been set up. The method is to export the collected addresses before the change, and after the change, map the old addresses to the new addresses by directory prefix or item by item, and then check the sitemap and push results to ensure that there are no large-scale failed addresses in the crawling report.

2026-10-13

The page engine for the newly published page is taking a long time to crawl, which part does the sitemap and IndexNow manage?

New pages are not indexed in time, first distinguish which part of the site map and IndexNow are responsible for the indexing chain: The site map provides a complete list and tells the engine what is on the site; IndexNow and similar real-time notification mechanisms are responsible for informing participating engines of content changes as soon as possible. Both complement each other, and full and incremental two chains need to be configured in the site to ensure the timeliness of indexing.

2026-10-13

How to read the 'remain' and 'not_valid' fields after submitting the link to Baidu's push interface

According to Baidu Search Resource Platform documentation, when the API push is successful, it returns the four fields: success, remain, not_same_site, and not_valid: remain is the remaining quota for the day, and not_valid is the list of invalid links; when it fails, it returns client error codes starting with 4 or a 500 server error code. This article discusses the troubleshooting order by field and explains which part of the link push and sitemap covers the link inclusion path.

2026-10-13

Writing nofollow in robots.txt actually does not take effect, which standards recognize which fields.

The standard text for excluding by robots, the fields only include User-agent and Disallow groups, nofollow is not defined in robots.txt, and it will not be parsed according to the standard. This article distinguishes between blocking crawling and blocking inclusion: crawling is controlled by robots configuration, inclusion is based on page-level control and server-side redirect convergence, and on-site robots settings and 301 redirect each have their own responsibilities.

2026-10-13

What are the conventions of Disallow, asterisk, and dollar sign in robots.txt?

The two basic instructions of robots.txt are Allow and Disallow, which respectively indicate allowing or prohibiting the crawling of certain paths; the asterisk is a wildcard that can match any character sequence, and the dollar sign at the end of the line indicates that the address ends exactly at this point. This format is standardized by RFC 9309. It should be noted that it only constrains crawling behavior, does not determine whether a page can be included, and is not effective for all robots; after changing the pseudo-static rules within the site, the robots configuration needs to be reviewed to ensure that the match is still valid.

2026-10-13