首页
学习
活动
专区
圈层
工具
发布
    • 综合排序
    • 最热优先
    • 最新优先
    时间不限
  • 来自专栏沈唁志

    WordPress秒变谷歌AMP加速移动页面并自动推送

    amp User-agent: googlebot-mobile Allow: /amp Allow: ?amp User-agent: * Disallow: /amp Disallow: ? mip User-agent: googlebot-mobile Allow: /amp Allow: ?amp User-agent: * Disallow: /mip Disallow: ?

    2.5K30发布于 2018-05-24
  • 来自专栏云外科技

    [技术向] 用Docker自建 Vaultwarden (Bitwarden_rs)

    bitwarden.example.com; ##防止搜索引擎收录 if ($http_user_agent ~* "qihoobot|Baiduspider|Googlebot|Googlebot-Mobile server_name bitwarden.example.com; if ($http_user_agent ~* "qihoobot|Baiduspider|Googlebot|Googlebot-Mobile

    13.8K31编辑于 2021-12-14
  • 来自专栏sktj

    Nginx 优化

    bbs.etiantian.com/img/nolink.jpg; } } 6、防爬虫 if ($http_user_agent ~* "qihoobot|Baiduspider|Googlebot|Googlebot-Mobile

    40620编辑于 2022-05-24
  • 来自专栏全栈程序员必看

    robots txt防爬虫[通俗易懂]

    robots.txt: User-agent: Baiduspider Disallow: / User-agent: Googlebot Disallow: / User-agent: Googlebot-Mobile

    1.6K10编辑于 2022-09-06
  • 来自专栏Rain的随笔小记

    Docker部署Vaultwarden(Bitwarden_RS)

    bitwarden.example.com; ##防止搜索引擎收录 if ($http_user_agent ~* "qihoobot|Baiduspider|Googlebot|Googlebot-Mobile server_name bitwarden.example.com; if ($http_user_agent ~* "qihoobot|Baiduspider|Googlebot|Googlebot-Mobile

    4.1K01编辑于 2023-10-31
  • 来自专栏全栈程序员必看

    如何设置让网站禁止被爬虫收录?robots.txt

    能和搜索引擎建立直接对话),给出以下建议: User-agent: Baiduspider Disallow: / User-agent: Googlebot Disallow: / User-agent: Googlebot-Mobile

    2.6K30编辑于 2022-07-07
  • 来自专栏全栈程序员必看

    php网站判断用户是否是手机访问的方法

    configuration\/cldc|hp |hp-|htc |htc_|htc-|iemobile|kindle|midp|mmp|motorola|mobile|nokia|opera mini|opera |Googlebot-Mobile

    3K30编辑于 2022-07-07
  • 来自专栏THUNDER王——CSDN内容同步

    php中如何判断用户是移动端还是pc端

    configuration\/cldc|hp |hp-|htc |htc_|htc-|iemobile|kindle|midp|mmp|motorola|mobile|nokia|opera mini|opera |Googlebot-Mobile

    2.2K20编辑于 2023-02-23
  • 来自专栏菲宇

    Django 判断访问来源是PC端还是手机端

    访问来源头信息中的User-Agent字段内容 :return: """ factor = ua is_mobile = False _long_matches = r'googlebot-mobile

    1.6K30编辑于 2022-04-13
  • 来自专栏九陌斋

    SEO基础知识:了解robots.txt

    以下是一些主流和知名的搜索引擎爬虫代号: Google Googlebot Googlebot-Mobile(针对移动版网站) Googlebot-Image(图片搜索) Googlebot-News

    1.5K10编辑于 2024-11-13
  • 来自专栏devops探索

    nginx代理Google An­a­lyt­ics

    scan|Curl|email|PycURL|Pyth|PyQ|WebCollector|WebCopy|webcraw) 1; ~*(qihoobot|Baiduspider|Googlebot|Googlebot-Mobile

    1.3K31发布于 2020-07-31
  • 来自专栏Web技术布道师

    网站服务性能优化实践

    admin/ Disallow: /*.php$ User-agent: MSNBot Allow: / Disallow: /admin/ Disallow: /*.php$ User-agent: googlebot-mobile

    71520发布于 2019-03-13
  • 来自专栏前端资源

    2019年搜索引擎蜘蛛爬虫名称最新整理总汇

    Baiduspider-mobile(抓取wap) 百度蜘蛛介绍:http://www.baidu.com/search/spider.html 2、Googlebot(谷歌蜘蛛) 常见的谷歌蜘蛛有:Googlebot,还一个 Googlebot-Mobile

    6.5K40发布于 2019-11-13
  • 来自专栏ECS服务器

    ChatGPT Web

    360Spider|JikeSpider|Spider|spider|bot|Bot|2345Explorer|curl|wget|webZIP|qihoobot|Baiduspider|Googlebot|Googlebot-Mobile

    1.7K40编辑于 2023-05-20
  • 来自专栏王先森

    nginx编译安装-nginx优化

    :这些爬虫代理使用“|”分隔,具体要处理的爬虫可以根据需求增加或减少,添加的内容如下: if ($http_user_agent ~* "qihoobot|Baiduspider|Googlebot|Googlebot-Mobile

    1.6K10编辑于 2023-04-24
  • 来自专栏zayyo前端

    "想提高网站排名?前端代码优化就是关键!"(SEO)

    Disallow: / //禁止访问整个网站User-agent:Bingbot //必应Allow: /public/ //允许访问特定目录User-agent: googlebot-mobile

    1.2K30编辑于 2023-11-06
  • 来自专栏phodal

    我是如何为技术博客设计一个推荐系统(上):统计与评分加权

    var botPattern = "(googlebot\/|Googlebot-Mobile|Googlebot-Image|Google favicon|Mediapartners-Google|bingbot

    1.8K60发布于 2018-01-29
  • 来自专栏运维开发故事

    快速搭建frp的ssh和http的内网穿透

    360Spider|JikeSpider|Spider|spider|bot|Bot|2345Explorer|curl|wget|webZIP|qihoobot|Baiduspider|Googlebot|Googlebot-Mobile

    6.1K32发布于 2020-11-11
  • 来自专栏散尽浮华

    Nginx的location配置规则梳理

    con_title=$1 last; #屏蔽爬虫 if ($http_user_agent ~* "qihoobot|Baiduspider|Googlebot|Googlebot-Mobile|Googlebot-Image

    2.5K70发布于 2018-01-23
  • 来自专栏IT大咖说

    Nginx常见用法总结(面试必备)

    worker_connections/2; } Nginx常见用法 依据UA屏蔽爬虫 if ($http_user_agent ~* "qihoobot|Baiduspider|Googlebot|Googlebot-Mobile

    98450发布于 2019-09-25
领券