Updating the smartphone user-agent of Googlebot


(Dean Taylor) #1

Next month Google will be updating the smartphone user-agent of Googlebot:

https://webmasters.googleblog.com/2016/03/updating-smartphone-user-agent-of.html

Reviewing the code-base it doesn’t look like it’s going to make a blindest bit of difference to Discourse.

Someone might possibily want to add the new user-agent here:

Current Googlebot smartphone user-agent:

Mozilla/5.0 (iPhone; CPU iPhone OS 8_3 like Mac OS X) AppleWebKit/600.1.4 (KHTML, like Gecko) Version/8.0 Mobile/12F70 Safari/600.1.4 (compatible; Googlebot/2.1; +http://www.google.com/bot.html)

Googlebot smartphone user-agent starting from April 18, 2016:

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)

No content on homepage for Googlebot
(Jeff Atwood) #2

So TL;DR Google is switching from iOS to Android :laughing:


(Sam Saffron) #3

Pretty sure current detection will continue to work, but push through a PR to add a test