google sitemap.xml 文件大小限制 [英] Limitation for google sitemap.xml file size

查看:159
本文介绍了google sitemap.xml 文件大小限制的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

谁能告诉我google sitemap.xml文件大小的内存限制(MB).

解决方案

根据最新更新:2017 年 1 月 1 日

<块引用>

任何站点地图文件都限制为 50MB(未压缩),最大50,000 个网址.

和一个

站点地图格式:Google 网站站长控制台

Google 支持多种站点地图格式,例如 XML、RSS、mRSS、Atom 1.0 和文本.

所有格式都将单个站点地图限制为 10MB(未压缩)和 50,000 个 URL.如果您有更大的文件或更多的 URL,则必须将列表分成多个站点地图.您可以选择创建站点地图索引文件(指向站点地图列表的文件)并将该单个索引文件提交给 Google.您可以向 Google 提交多个站点地图和/或站点地图索引文件.

我的站点地图可以有多大?:站点地图.组织

站点地图不应大于 50MB(52,428,800 字节),并且最多可以包含 50,000 个网址.这些限制有助于确保您的 Web 服务器不会因为处理非常大的文件而陷入困境.这意味着如果您的站点包含超过 50,000 个 URL 或您的站点地图大于 50MB,您必须创建多个站点地图文件并使用站点地图索引文件.即使您的站点很小,但计划增加超过 50,000 个 URL 或 50MB 的文件大小,您也应该使用站点地图索引文件.一个站点地图索引文件最多可以包含 50,000 个站点地图,并且不得超过 50MB(52,428,800 字节).您还可以使用 gzip 压缩站点地图.

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

解决方案

According to the Latest Update: 01 Jan 2017

Any Sitemap file is limited to 50MB (uncompressed) with a maximum of 50,000 URLs.

And a Sitemap index file (not to be confused with a Sitemap file) can include up to 50,000 Sitemaps.

So, for a single Sitemap index file, the maximum capacity of URLs and storage could be calculated as described below:

in terms of URLs:

50,000 sitemaps = ( 50,000 * 50,000 ) URLs = 2,500,000,000 URLs

Note: Google supports several sitemap formats but still, all formats limit a single sitemap to 10MB (uncompressed) and 50,000 URLs. Please also refer to the sitemap index file's schema as being defined here.

in terms of size:

50MB + (50,000 sitemaps * 50MB) = 2,500,050 MB = > 2.3 TB

So altogether, we can have maximum 2,500 millions URLs by submitting a single site map index file and we can have around 2TB of storage for all sitemap files which are included in the site map index file.

Since we can submit up to 500 sitemap index files to Google see here, the conclusion is:

(500 * 2,500) millions URLs limit with the size of (500 * 2) TB

Reference:

Schema for Sitemap index files

Sitemap formats : Google Webmaster Console

Google supports several sitemap formats such as XML, RSS, mRSS, Atom 1.0 and Text.

All formats limit a single sitemap to 10MB (uncompressed) and 50,000 URLs. If you have a larger file or more URLs, you will have to break your list into multiple sitemaps. You can optionally create a sitemap index file (a file that points to a list of sitemaps) and submit that single index file to Google. You can submit multiple sitemaps and/or sitemap index files to Google.

How big can my Sitemap be? : Sitemaps.org

Sitemaps should be no larger than 50MB (52,428,800 bytes) and can contain a maximum of 50,000 URLs. These limits help to ensure that your web server does not get bogged down serving very large files. This means that if your site contains more than 50,000 URLs or your Sitemap is bigger than 50MB, you must create multiple Sitemap files and use a Sitemap index file. You should use a Sitemap index file even if you have a small site but plan on growing beyond 50,000 URLs or a file size of 50MB. A Sitemap index file can include up to 50,000 Sitemaps and must not exceed 50MB (52,428,800 bytes). You can also use gzip to compress your Sitemaps.

这篇关于google sitemap.xml 文件大小限制的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆