zoukankan      html  css  js  c++  java
  • robots协议

    Robots文件:

      限制搜索引擎:

        User-agent : *

        User-agent : baiduspider

        User-agent : googlebot

      禁止百度抓取:

        Disallow : /admin/admin.php

        Disallow : /a/

      允许抓取:

        Allow : /a/e/

        Allow要跟disallow配合使用;

      常见写法:

        User-agent : *

        Disallow : /admin/admin.php

        Disallow : /a/

      其它写法:

        User-agent : *

        Disallow : /admin/admin.php

        Disallow : /a/

        Allow : /a/e/

      ---------

        User-agent : baiduspider

        Disallow : 

        只允许baidu抓取;

      ---------

        User-agent : *

        Disallow : /  

        所有搜索引擎都不能抓取;

  • 相关阅读:
    常用shell
    JavaScript基础
    CSS动画-页面特效
    CSS3常用操作
    CSS3的盒子模型
    CSS定位
    JQuery中的DOM操作
    [单词用法总结]-as
    JQuery选择器
    css选择器
  • 原文地址:https://www.cnblogs.com/chengshun/p/7196856.html
Copyright © 2011-2022 走看看