Include new Googlebot for smartphones user-agent in is_mobile() ?
-
Hello,
Do you include this in is_mobile() – if not, is there a reason not to? If there is a showstopping reason not to, is there a way I can do this myself?
We’re using this plugin extensively, along with purely responsive code, but Google is ranking our pages lower because the mobile bot does not see the viewport resize with javascript (although all mobile devices do see it), so it thinks we are not optimized for mobile. I’d like to use is_mobile() to resize the viewport, but that won’t help with the Google mobile bot unless it thinks it’s included. Any ideas? Thank you.
The new Googlebot for smartphones 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; +https://www.google.com/bot.html) (updated August 2015)
- The topic ‘Include new Googlebot for smartphones user-agent in is_mobile() ?’ is closed to new replies.