机器人robot元标签

news/2024/7/19 9:13:05 标签: 爬虫

可以通过聪明的机器人元标签,来与机器人爬虫交互,告知它怎么爬你的网站,用法如下:

<meta name=”robots” content=”noindex, nofollow, noodp, noydir, nosnippet”>

可以放到content中的关键字有以下几个:

  • “noindex”– this will prevent search engines from indexing the page
  • “nofollow” — this will prevent search engines from following any link on the page
  • “noarchive” — this will prevent search engines from keeping a cached version of the page in search results
  • “nosnippet” — this will prevent a description from appearing on your site’s listing on search engine results pages
  • “noodp” — this will prevent search engines from displaying the Open Directory title or description on your site’s listing
  • “noydir” — this will prevent Yahoo! from displaying the Yahoo! Directory title or description on your sites listing
  • “none” – this is the equivalent of “noindex, nofollow”
  • “noimageindex” – this will prevent search engines from indexing images on the page

参考:http://www.yourseoplan.com/meta-tags/


http://www.niftyadmin.cn/n/1011515.html

相关文章

突然的想法

我们训练的网络是不是合理的&#xff1f; 没有人能够断言&#xff0c;这个东西没有道理&#xff0c;但想要证明&#xff0c;以严谨的数学或者其他 logical knowledge来说明是非常困难的。 根据马克思主义&#xff0c;任何的意识形态可以指导下一步的实践&#xff0c;而实践能够…

ORA-27101:shared memory realm does not exist

系统装Oracle已经有一段时间了&#xff0c;今天打开Oracle在进行登录时出现了登录错误&#xff0c;如下&#xff1a; C:\Documents and Settings\Administrator>sqlplus Enter user-name:system Enter password:oracle error: ORA-01034: Oracle not available ORA-27101: s…

屏蔽机器人爬虫爬网站

最近&#xff0c;在检测iis日志的时候&#xff0c;发下有爬虫爬我的网站。比较恼怒&#xff0c;怎么能爬呢&#xff0c;秘密啊。 马上在网站的根目录放个robots.txt文件&#xff0c;文件内容如下&#xff1a; User-agent: * Disallow: / 呵呵&#xff0c;这些任何守法的爬虫都…

ubuntu 软件包管理dpkg

&#xff08;1&#xff09;卸载软件 dpkg -r mysql-server-5.1 &#xff08;2&#xff09;删除配置文件 dpkg --purge mysql-server-5.1 &#xff08;3&#xff09;安装软件包 dpkg -i mysql-server-5.1转载于:https://blog.51cto.com/huangkunlun520/907325

网站变灰白色

为了悼念遇难的同胞&#xff0c;展示我们沉痛的心情。需要给我们的网站穿上素装&#xff0c;以黑白的样式展现给用户&#xff0c;该怎么办呢 &#xff1f;在css样式中加入下面的样式定义&#xff1a; html{filter:gray;} 或则 html{filter:progid:DXImageTransform.Microsoft.…

LRN和BN的数学公式理解与区别

一、写在前面 这两个方法&#xff0c;一个出现在Alexnet&#xff0c;另一个应用在Googlenet中&#xff0c;将原本的公式进行粘贴如图所示&#xff1a; 公式一 此处只做补充&#xff1a;局部响应归一化是可以值得琢磨的&#xff0c;它干的事情就是对目标的相应归一&#xff0…

展讯财报解密:TD市场爆发

8月13日展讯通信发布截至6月30日的2010财年第二季度财报。报告显示&#xff0c;展讯通信第二季度营收为7140万美元&#xff0c;同比增长341%&#xff0c;比上一季度增长37%&#xff1b;净利润为1110万美元&#xff0c;去年同期净亏损为1310万美元&#xff0c;上一季度净利润为6…

数字全排列,理解

本篇论文是转载&#xff1a;原文地址&#xff1a; https://blog.csdn.net/qq_37756310/article/details/81747699 数字全排列&#xff0c;用好递归&#xff0c;可以获得不一样的收获。 输入一个数字n&#xff0c;使用递归算法输出1~n所有的排列 /全排列问题/ #include using …