跳至主要內容
  • Hostloc 空間訪問刷分
  • 售賣場
  • 廣告位
  • 賣站?

4563博客

全新的繁體中文 WordPress 網站
  • 首頁
  • 请教关于搜索引擎 robots.txt 的设置
未分類
4 9 月 2020

请教关于搜索引擎 robots.txt 的设置

请教关于搜索引擎 robots.txt 的设置

資深大佬 : anUglyDog 3

我参考了: https://developers.google.cn/search/reference/robots_txt?hl=zh-cn 知乎 robots.txt: https://www.jianshu.com/robots.txt 简书 robots.txt: https://www.zhihu.com/robots.txt

User-agent: * Request-rate: 1/2 # load 1 page per 2 seconds Crawl-delay: 10 Allow: /$ Disallow: / Allow: /view/article/* 

我只需要爬虫爬取 /和 /view/article/下的内容,其它都不希望它爬取。这样设置有问题吗? (另外,知乎的 robots 文件真的啰嗦。。。)

大佬有話說 (1)

  • 主 資深大佬 : anUglyDog

    https://technicalseo.com/tools/robots-txt/
    我用这个工具查我现在设置的 robots.txt ,好像跟我预想的结果不一样。。。

文章導覽

上一篇文章
下一篇文章

AD

其他操作

  • 登入
  • 訂閱網站內容的資訊提供
  • 訂閱留言的資訊提供
  • WordPress.org 台灣繁體中文

51la

4563博客

全新的繁體中文 WordPress 網站
返回頂端
本站採用 WordPress 建置 | 佈景主題採用 GretaThemes 所設計的 Memory
4563博客
  • Hostloc 空間訪問刷分
  • 售賣場
  • 廣告位
  • 賣站?
在這裡新增小工具