WordPress的wp_is_mobile()函数还有用吗?
WordPress 3.4 引入的 wp_is_mobile() 函数允许开发者判别访客设备类型,从而优化内容输出,尽管随着移动设备性能提升,其应用场景有所变化。
IP地址(26) | 服务器名称 | 所属国家 |
---|---|---|
159.65.25.80 | 159.65.25.80 | GB |
219.142.53.10 | 10.53.142.219.broad.bj.bj.dynamic.163data.com.cn | CN |
219.142.53.13 | 13.53.142.219.broad.bj.bj.dynamic.163data.com.cn | CN |
219.142.53.22 | 22.53.142.219.broad.bj.bj.dynamic.163data.com.cn | CN |
219.142.53.8 | 8.53.142.219.broad.bj.bj.dynamic.163data.com.cn | CN |
219.142.53.5 | 5.53.142.219.broad.bj.bj.dynamic.163data.com.cn | CN |
202.96.51.156 | 202.96.51.156 | CN |
202.96.51.141 | 202.96.51.141 | CN |
202.96.51.132 | 202.96.51.132 | CN |
219.142.53.11 | 11.53.142.219.broad.bj.bj.dynamic.163data.com.cn | CN |
219.142.53.6 | 6.53.142.219.broad.bj.bj.dynamic.163data.com.cn | CN |
219.142.53.17 | 17.53.142.219.broad.bj.bj.dynamic.163data.com.cn | CN |
219.142.53.9 | 9.53.142.219.broad.bj.bj.dynamic.163data.com.cn | CN |
IP地址(26) | 服务器名称 | 所属国家 |
---|---|---|
219.142.53.11 | 11.53.142.219.broad.bj.bj.dynamic.163data.com.cn | CN |
219.142.53.6 | 6.53.142.219.broad.bj.bj.dynamic.163data.com.cn | CN |
219.142.53.17 | 17.53.142.219.broad.bj.bj.dynamic.163data.com.cn | CN |
219.142.53.9 | 9.53.142.219.broad.bj.bj.dynamic.163data.com.cn | CN |
219.142.53.2 | 2.53.142.219.broad.bj.bj.dynamic.163data.com.cn | CN |
219.142.53.12 | 12.53.142.219.broad.bj.bj.dynamic.163data.com.cn | CN |
219.142.53.25 | 25.53.142.219.broad.bj.bj.dynamic.163data.com.cn | CN |
219.142.53.10 | 10.53.142.219.broad.bj.bj.dynamic.163data.com.cn | CN |
219.142.53.31 | 31.53.142.219.broad.bj.bj.dynamic.163data.com.cn | CN |
202.96.51.145 | 202.96.51.145 | CN |
IP地址(4) | 服务器名称 | 所属国家 |
---|---|---|
219.142.53.17 | 17.53.142.219.broad.bj.bj.dynamic.163data.com.cn | CN |
219.142.53.5 | 5.53.142.219.broad.bj.bj.dynamic.163data.com.cn | CN |
219.142.53.7 | 7.53.142.219.broad.bj.bj.dynamic.163data.com.cn | CN |
219.142.53.8 | 8.53.142.219.broad.bj.bj.dynamic.163data.com.cn | CN |
对于未知蜘蛛或者爬虫。它的用途对网站来说可能是好的,也可能是坏的,这取决于它是什么。所以说,这需要站长进一步分析判断这些尚不明确的爬虫行为,再作最终决定。 但,根据以往的经验,未声明行为目的及未命名的蜘蛛爬虫,通常都有不可告人的秘密,我们理应对其行为进行控制,比如拦截。
您可以通过在网站的 robots.txt 中设置用户代理访问规则来屏蔽 librabot 或限制其访问权限。我们建议安装 Spider Analyser 插件,以检查它是否真正遵循这些规则。
# robots.txt # 下列代码一般情况可以拦截该代理 User-agent: librabot Disallow: /
您无需手动执行此操作,可通过我们的 Wordpress 插件 Spider Analyser 来拦截不必要的蜘蛛或者爬虫。