

即将更新 Googlebot 用户代理
source link: https://chinagdg.org/2019/11/%e5%8d%b3%e5%b0%86%e6%9b%b4%e6%96%b0-googlebot-%e7%94%a8%e6%88%b7%e4%bb%a3%e7%90%86/
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.

即将更新 Googlebot 用户代理
Source: 即将更新 Googlebot 用户代理 from Google中文网站站长博客
我们在今年早些时候召开的 Google I/O 大会上已经宣布,Googlebot 会使用基于 Chrome 的浏览器呈现网页。为此,我们将于 2019 年 12 月更新 Googlebot 的用户代理字符串以反映新的浏览器版本,并会定期更新版本号以与 Googlebot 中的 Chrome 更新保持一致。
如需关于用户代理字符串和呈现的背景读物,请参阅 Google 抓取工具(用户代理)和确保 Google 能够将 JavaScript 内容编入索引。
当前在用的 Googlebot 用户代理
移动版:
Mozilla/5.0 (Linux; Android 6.0.1; Nexus 5X Build/MMB29P) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/41.0.2272.96 Mobile Safari/537.36 (compatible; Googlebot/2.1; +http://www.google.com/bot.html)
桌面版:
Mozilla/5.0 (compatible; Googlebot/2.1; +http://www.google.com/bot.html)
或
Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; Googlebot/2.1; +http://www.google.com/bot.html) Safari/537.36
与时俱进的新版 Googlebot 及其用户代理
从 12 月起,我们将定期更新上述用户代理字符串,以反映 Googlebot 中使用的 Chrome 版本。以下用户代理字符串中的“W.X.Y.Z”将会被替换为我们正在使用的 Chrome 版本。例如,您看到的会是“76.0.3809.100”之类的内容,而不是“W.X.Y.Z”。此版本号会定期更新。
移动版:
Mozilla/5.0 (Linux; Android 6.0.1; Nexus 5X Build/MMB29P) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/W.X.Y.Z Mobile Safari/537.36 (compatible; Googlebot/2.1; +http://www.google.com/bot.html)
桌面版:
Mozilla/5.0 (compatible; Googlebot/2.1; +http://www.google.com/bot.html)
或
Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; Googlebot/2.1; +http://www.google.com/bot.html) Chrome/W.X.Y.Z Safari/537.36
如何测试您的网站
我们已进行了评估,所以确信大多数网站都不会因为此项更改而受到影响。
所有按照我们的建议使用功能检测和渐进增强(而非用户代理嗅探)的网站应该都能继续照常运行,无需进行任何更改。
如果您的网站会寻找特定的用户代理,它可能会受到影响。在这种情况下,您应该使用功能检测(而非用户代理嗅探)。如果您无法使用功能检测,并且需要通过用户代理检测 Googlebot,请在用户代理中查找“Googlebot”。
在评估此项更改的过程中,我们发现了一些常见问题,包括:
- 网页会显示错误消息而非正常的网页内容。例如,某个网页可能会认为 Googlebot 是设置了广告拦截器的用户,并在无意中阻止其访问网页内容。
- 网页会重定向到禁止抓取/禁止编入索引的文档。
如果不确定自己的网站是否会受到影响,您可以尝试使用新版 Googlebot 用户代理在浏览器中加载您的网页。这些说明介绍了如何在 Chrome 中替换您的用户代理。
如果您有任何疑问,请务必访问我们的网站站长帮助社区,前往 YouTube 参加我们的网站站长 Office Hours 活动,或者在 Twitter 上关注我们。
发布者:网页呈现服务团队软件工程师 Zoe Clifford
Recommend
-
66
-
86
One of my favourite new features in JavaScript is Proxy. As a library author, it’s exciting to think of the possibilities it opens for new APIs. In Pose, I use it to make a simple syntax for defining…
-
76
Googlebot is now using an evergreen Chromium rendering engine to render websites - improving Google Search's JavaScript compatibility even more
-
22
Categories ProgrammingRate Limiting Googlebot Across Many WebsitesGooglebot is one of the good guys. It will check your rob...
-
10
DuckDuckGo Hits New Record: 100 Million Searches Per DayDuckDuckGo continues its steady growth, reaching 100 million searches per day for the first time.
-
5
SEO List of Googlebot IP addresses released Knowing which bot is really Google and which is not can help you decide which rogue b...
-
8
V2EX › Google 请教一下, GoogleBot 抓取的方式跟控制台调试有关吗? ab · 47 分钟前 · 58 次点...
-
9
What Happens When Google Picks The Wrong Canonical URL? Google may select a different URL to display in search results from the one listed in a canonical ta...
-
5
Introduction to Googlebot spoofing In this article, I'll describe how and why to use Google Chrome (or Chrome Canary) to view a website as Googlebot. We'll set up a web browser specifically for Googlebot browsing. Using a user-agen...
-
10
Find Resources Bigger Than 15 MB For Better Googlebot Crawling Ensure your content complies with Googlebot's 15 MB size limit. Audit your resource sizes aut...
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK