WordPress的wp_is_mobile()函数还有用吗?
WordPress 3.4 引入的 wp_is_mobile() 函数允许开发者判别访客设备类型,从而优化内容输出,尽管随着移动设备性能提升,其应用场景有所变化。
IP地址(253) | 服务器名称 | 所属国家 |
---|---|---|
117.50.199.114 | smdxwoj.cn | CN |
117.50.163.56 | ptlei8.cn | CN |
117.50.47.80 | 117.50.47.80 | CN |
117.50.47.202 | 117.50.47.202 | CN |
117.50.46.78 | 117.50.46.78 | CN |
117.50.216.34 | 117.50.216.34 | CN |
117.50.196.231 | jlabrbr.cn | CN |
117.50.215.82 | 117.50.215.82 | CN |
117.50.205.221 | 117.50.205.221 | CN |
117.50.214.251 | 117.50.214.251 | CN |
117.50.214.250 | 117.50.214.250 | CN |
117.50.216.21 | 117.50.216.21 | CN |
117.50.215.97 | 117.50.215.97 | CN |
117.50.46.8 | 117.50.46.8 | CN |
117.50.214.222 | 117.50.214.222 | CN |
117.50.214.46 | 117.50.214.46 | CN |
117.50.215.125 | 117.50.215.125 | ? |
117.50.199.115 | dyrheny.cn | CN |
117.50.47.164 | 117.50.47.164 | CN |
117.50.214.233 | 117.50.214.233 | CN |
117.50.214.165 | 117.50.214.165 | ? |
117.50.214.201 | 117.50.214.201 | CN |
117.50.216.83 | 117.50.216.83 | CN |
117.50.215.153 | 117.50.215.153 | CN |
117.50.47.201 | 117.50.47.201 | CN |
117.50.215.104 | 117.50.215.104 | CN |
117.50.214.158 | 117.50.214.158 | CN |
117.50.199.101 | qvgulkm.cn | CN |
117.50.47.145 | 117.50.47.145 | CN |
117.50.205.29 | 117.50.205.29 | ? |
117.50.215.209 | 117.50.215.209 | CN |
117.50.215.87 | 117.50.215.87 | CN |
117.50.215.62 | 117.50.215.62 | ? |
117.50.215.206 | 117.50.215.206 | ? |
117.50.215.142 | 117.50.215.142 | CN |
117.50.46.15 | uxsxsas.cn | CN |
117.50.215.193 | 117.50.215.193 | CN |
117.50.46.25 | pxoopnh.cn | CN |
117.50.171.245 | 117.50.171.245 | CN |
117.50.214.193 | 117.50.214.193 | ? |
117.50.46.3 | 117.50.46.3 | CN |
117.50.214.172 | 117.50.214.172 | ? |
117.50.214.157 | 117.50.214.157 | CN |
117.50.205.132 | 117.50.205.132 | CN |
117.50.215.8 | 117.50.215.8 | ? |
117.50.47.217 | 117.50.47.217 | CN |
对于未知蜘蛛或者爬虫。它的用途对网站来说可能是好的,也可能是坏的,这取决于它是什么。所以说,这需要站长进一步分析判断这些尚不明确的爬虫行为,再作最终决定。 但,根据以往的经验,未声明行为目的及未命名的蜘蛛爬虫,通常都有不可告人的秘密,我们理应对其行为进行控制,比如拦截。
您可以通过在网站的 robots.txt 中设置用户代理访问规则来屏蔽 ChatGLM Spider 或限制其访问权限。我们建议安装 Spider Analyser 插件,以检查它是否真正遵循这些规则。
# robots.txt # 下列代码一般情况可以拦截该代理 User-agent: ChatGLM Spider Disallow: /
您无需手动执行此操作,可通过我们的 Wordpress 插件 Spider Analyser 来拦截不必要的蜘蛛或者爬虫。