问题原文
原帖链接 · Roman Matveev · CC BY-SA 3.0
So I've pinged Google with my site XML sitemap with this HTTP request:
http://www.google.com/webmasters/tools/ping?sitemap=http://example.com/sitemap.xml
The response was OK "Sitemap Notification Received. Your Sitemap has been successfully added to our list of Sitemaps to crawl. If this is the first time you are notifying Google about this Sitemap, please add it via http://www.google.com/webmasters/tools/ so you can track its status. Please note that we do not add all submitted URLs to our index, and we cannot make any predictions or guarantees about when or if they will appear."
However if I login to Google webmasters tools I see the emptiness in the Sitemap files section:
I should make a note that I pinged Google firs time just about two days ago. The second note is that shortly after the ping (several hours or so) the first page of my site appears in the Google search results (it is root page, which is not in the sitemap by the way).
So the question is: should I keep waiting or I need to add XML-sitemap file to Google webmasters tools manually?
已采纳解答
原帖链接 · Goyllo · CC BY-SA 3.0
Yes you have to add it manually in search console, because ping tool is available for anyone, it means me and you can also submit stackexchange sitemap to Google ping tool, and they will not going to check weather you own the domain or not.
So that ping tool does not gives you any index data, neither they automatically add your sitemap into search console. You have to verify your property in search console and add the sitemap manually.
But if you just want to index your website without checking the index data and errors as you said in comment, then feel free to use ping tool, Google support it very well, here is official statements.
You can also resubmit a sitemap by sending an HTTP GET request to the following URL, specifying your own sitemap URL: http://google.com/ping?sitemap=http://www.example.com/my_sitemap.xml
摘自公开归档,保留原文语言,版式经整理,外部媒体与邮箱地址已移除。
