WordPress的wp_is_mobile()函数还有用吗?
WordPress 3.4 引入的 wp_is_mobile() 函数允许开发者判别访客设备类型,从而优化内容输出,尽管随着移动设备性能提升,其应用场景有所变化。
IP地址(9) | 服务器名称 | 所属国家 |
---|---|---|
64.233.172.137 | google-proxy-64-233-172-137.google.com | US |
64.233.172.135 | google-proxy-64-233-172-135.google.com | US |
64.233.172.132 | google-proxy-64-233-172-132.google.com | US |
66.249.83.10 | google-proxy-66-249-83-10.google.com | US |
66.249.83.33 | google-proxy-66-249-83-33.google.com | US |
66.249.83.42 | google-proxy-66-249-83-42.google.com | US |
66.249.83.45 | google-proxy-66-249-83-45.google.com | US |
66.249.83.64 | google-proxy-66-249-83-64.google.com | US |
66.249.83.39 | google-proxy-66-249-83-39.google.com | US |
66.249.83.59 | google-proxy-66-249-83-59.google.com | US |
66.249.83.36 | google-proxy-66-249-83-36.google.com | US |
66.102.9.60 | google-proxy-66-102-9-60.google.com | US |
66.249.81.218 | google-proxy-66-249-81-218.google.com | US |
66.249.81.221 | google-proxy-66-249-81-221.google.com | US |
66.249.93.251 | google-proxy-66-249-93-251.google.com | US |
66.102.9.30 | google-proxy-66-102-9-30.google.com | US |
66.102.9.52 | google-proxy-66-102-9-52.google.com | US |
66.102.9.121 | google-proxy-66-102-9-121.google.com | US |
66.249.83.54 | google-proxy-66-249-83-54.google.com | US |
66.249.83.222 | google-proxy-66-249-83-222.google.com | US |
66.249.83.202 | google-proxy-66-249-83-202.google.com | US |
66.249.83.195 | google-proxy-66-249-83-195.google.com | US |
66.249.83.37 | google-proxy-66-249-83-37.google.com | US |
66.249.83.196 | google-proxy-66-249-83-196.google.com | US |
66.249.83.197 | google-proxy-66-249-83-197.google.com | US |
66.249.83.107 | google-proxy-66-249-83-107.google.com | US |
IP地址(10) | 服务器名称 | 所属国家 |
---|---|---|
46.101.43.87 | 46.101.43.87 | GB |
66.102.9.60 | google-proxy-66-102-9-60.google.com | US |
66.102.9.52 | google-proxy-66-102-9-52.google.com | US |
66.102.9.121 | google-proxy-66-102-9-121.google.com | US |
66.249.81.218 | google-proxy-66-249-81-218.google.com | US |
66.249.81.221 | google-proxy-66-249-81-221.google.com | US |
66.249.93.251 | google-proxy-66-249-93-251.google.com | US |
66.102.9.30 | google-proxy-66-102-9-30.google.com | US |
可能不需要。工具类型爬虫通常为网站所有者使用此类工具对网站进行相关服务请求才会出现。当然,实际情况需站长判断后再作决定。
您可以通过在网站的 robots.txt 中设置用户代理访问规则来屏蔽 Google-Structured-Data-Testing-Tool 或限制其访问权限。我们建议安装 Spider Analyser 插件,以检查它是否真正遵循这些规则。
# robots.txt # 下列代码一般情况可以拦截该代理 User-agent: Google-Structured-Data-Testing-Tool Disallow: /
您无需手动执行此操作,可通过我们的 Wordpress 插件 Spider Analyser 来拦截不必要的蜘蛛或者爬虫。