日期:2014-05-17  浏览次数:20586 次

求高人来解释下meta标签的name的属性值robots
在这个属性值当中有6个值,分别是all,none,index,follow,noindex,follow
<meta name="robots" content="all">等价于连续写
<meta name="robots" content="index">
<meta name="robots" content="follow">

;
<meta name="robots" content="none">等价于连续写
<meta name="robots" content="noindex">
<meta name="robots" content="nofllow">

;
<meta name="robots" content="index">等价于
<meta name="robots" content="nofllow">

;
<meta name="robots" content="follow">等价于
<meta name="robots" content="noindex">

------解决方案--------------------
设定为all:文件将被检索,且页面上的链接可以被查询;

  设定为none:文件将不被检索,且页面上的链接不可以被查询;

  设定为index:文件将被检索;

  设定为follow:页面上的链接可以被查询;

  设定为noindex:文件将不被检索,但页面上的链接可以被查询;

  设定为nofollow:文件将不被检索,页面上的链接可以被查询。
http://blog.csdn.net/wizard0128/article/details/991363