Limitation for google sitemap.xml file size

后端 未结 7 1790
一向
一向 2020-12-10 10:10

can any one please let me know the memory limitation(MB) of google sitemap.xml file size.

7条回答
  •  一个人的身影
    2020-12-10 10:43

    UPDATED limits from Nov 30 2016

    File size limit has been increased to 50MB per uncompressed file & URL limits remain 50,000 URLs per sitemap / sitemap index

    You can provide multiple Sitemap files, but each Sitemap file that you provide must have no more than 50,000 URLs and must be no larger than 50MB (52,428,800 bytes). If you would like, you may compress your Sitemap files using gzip to reduce your bandwidth requirement; however the sitemap file once uncompressed must be no larger than 50MB. If you want to list more than 50,000 URLs, you must create multiple Sitemap files.

    If you do provide multiple Sitemaps, you should then list each Sitemap file in a Sitemap index file. Sitemap index files may not list more than 50,000 Sitemaps and must be no larger than 50MB (52,428,800 bytes) and can be compressed. You can have more than one Sitemap index file. The XML format of a Sitemap index file is very similar to the XML format of a Sitemap file.

    Source https://www.sitemaps.org/protocol.html#otherformats

    For those who are still confused about the 10MB limit mentioned on the google suppport page, that page is not updated as they announced the changes on Nov 30, 2016.

    Announcement by google : https://twitter.com/googlewmc/status/803884180266479616 Announcement by bing : https://blogs.bing.com/webmaster/November-2016/Increasing-the-size-limit-of-Sitemaps-file-to-addr

    TL;DR

    Limit for Sitemap Files : 50,000 URLs & 50MB uncompressed file size

    Limit for Sitemap Index Files : 50,000 Sitemaps & 50MB uncompressed file size

提交回复
热议问题