大网数据广告活动
网站运营与故障问答

Google Search Console and sitemap-index file gzip

· 52CE 我爱测

I googled for a long time and tried to find something at https://www.sitemaps.org/protocol.html#index about gzip compression for sitemap INDEX files, but I couldn't find anything. I have a very large dynamic site that is a direct…

问题原文

原帖链接 · Maksim Budkov · CC BY-SA 4.0

I googled for a long time and tried to find something at https://www.sitemaps.org/protocol.html#index about gzip compression for sitemap INDEX files, but I couldn't find anything.

I have a very large dynamic site that is a directory of companies. I have 500+ sitemaps with 40,000 links each. All of these files are compressed with gzip and have the extension .xml.gz. A sitemap index file was created for these files, which I also decided to compress using gzip. Accordingly, its extension is also .xml.gz.

Now I am trying to index my site in the google search console. I add the sitemap index file to the sitemaps file section. The file is added, it is recognized as a sitemap index file, the status is Successful, but as a result, only 16 links from one sitemap0.xml.gz file were processed. At first I thought it was a temporary problem and they will be handled a little later. But I added this file back in April and I still have only 1 file out of 500+ processed and only 16 links from it.

At the same time, the console writes that it processed 400,000 links, and another 10 million links were found, but will not be indexed (without specifying any reasons, which I also do not understand).

So, looking for a bug, I want to ask if the sitemap index file can be gzipped or should it be left in its original xml form?

If possible, can someone tell me what to do? Just wait? I just haven't seen any changes in the console since April...

I honestly don't understand what the problem might be. Why were my 10 million links found but not indexed?

已采纳解答

原帖链接 · Stephen Ostermiller · CC BY-SA 4.0

Sitemap index files may have .xml.gz extension with gzip compression. That isn't a problem.

Google Search Console has had a bug for years where it doesn't report all the URLs that it finds through sitemap index files. See Google says my sitemap index was "processed successfully", yet "total discovered URLs" is 0

There are many reasons why your pages might not get indexed. See: Why aren't search engines indexing my content? It is likely a combination of:

  • They are low quality -- It is nearly impossible to create 200 million high quality pages. They are either going to be sparse, have duplicate information from other sources, or be machine generated.
  • They are low interest -- They are about things that don't get many searches.
  • They have low Pagerank -- They don't have many links from anywhere.

XML sitemaps are not going to solve your problem. Listing pages in XML sitemaps does not usually get Google to index them. In the cases in which Google does index them, they won't rank better because they are in a sitemap. At best XML sitemaps get Googlebot to crawl your pages and give you extra stats in Google Search Console. See The Sitemap Paradox

摘自公开归档,保留原文语言,版式经整理,外部媒体与邮箱地址已移除。

资料来源与适用范围

资料来源
Webmasters Stack Exchange
适用范围
以原帖系统、软件版本与发布日期为准(2021-08-12)
内容语言
中文;命令、路径和错误标识保留技术原文
本地收录日期
2026-11-15
授权说明
CC BY-SA 4.0

正文与所需资源由本站本地存储。查看来源及更新记录 ↗

请按适用版本和实际日志确认原因;本站没有对每一种系统或设备逐项执行文中的操作。