What AuditX checks
The scan reads the sitemap listed in your robots.txt, or sitemap.xml at the root when none is listed. If the file is a sitemap index, it also reads up to 5 of the sitemaps it lists, one level deep. For each file it records the number of addresses and the size of the response in bytes. The check warns when any single file lists more than 50,000 addresses, or is larger than 50 MB (50 times 1024 times 1024 bytes) uncompressed, and names the files. It passes when every file read is within both limits. It is an info note, which does not lower the score, when no sitemap file was found. When the request itself did not complete, or the server refused it, it is an info note marked as not measured. Each file is judged on its own, not the total. The scan counts addresses only in the first 3 million characters of each file, so a very large file may show fewer addresses than it holds. The size is measured on the whole response. Because of that, the size limit is the more reliable of the two tests for a huge file. The scan is a normal read of a public file.
Why it matters
Google Search Central states that a single sitemap may hold at most 50,000 addresses and 50 MB uncompressed, and says to split a larger one into several files.
The sitemaps.org protocol, which Google follows, sets the same two limits and describes a sitemap index file that lists many sitemaps. A file over a limit may be rejected, so the addresses in it may never be read.
How to fix it
- Open the file named in the report and check its size and the number of url entries.
- Split the addresses over several sitemap files, each below 50,000 addresses and 50 MB. A split by section, such as products, posts and pages, is easy to maintain.
- Create a sitemap index file that lists the smaller files, and list only the index in robots.txt.
- Most CMS and SEO plugins can do this on their own. Look for a setting for the maximum number of addresses per sitemap.
<sitemapindex xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
<sitemap><loc>https://www.example.com/sitemap-products-1.xml</loc></sitemap>
<sitemap><loc>https://www.example.com/sitemap-products-2.xml</loc></sitemap>
</sitemapindex>
Does your site pass this check? A free scan runs it with every other check and shows the result in about a minute.
Scan my site