网站制作学习网网站优化→正文:link rel之SEO
字体:

link rel之SEO

网站优化 2012/6/13 10:14:45  点击:不统计


在看wordpress的源代码中看到的内容页面的head代码里面都有
<link rel="alternate" type="application/rss+xml" title="RSS 2.0 - 所有文章" href="http://www.forasp.cn/rss.asp/" />
<link rel="alternate" type="application/rss+xml" title="RSS 2.0 - 所有评论" href="http://www.forasp.cn" />
<link rel="pingback" href="http://forasp.cn" />
<link rel="shortcut icon" href="favicon.ico"  type="image/x-icon" />
<link rel="Bookmark" href="favicon.ico" />
<link rel="stylesheet" href="http://www.forasp.cn/style.css" type="text/css" media="screen" />
这里面有大量的link rel,这对seo有影响,看一下link rel的属性
rel属性通常出现在a,link标签中 属性值  
alternate  定义交替出现的链接  
appendix  定义文档的附加信息  
bookmark  书签  
chapter  当前文档的章节 contents  
copyright  当前文档的版权  
glossary  词汇  
help  链接帮助信息  
index  当前文档的索引 
next  记录文档的下一页.(浏览器可以提前加载此页) 
nofollow  不被用于计算PageRank  
prev  记录文档的上一页.(定义浏览器的后退键)  
section  作为文档的一部分  
start  通知搜索引擎,文档的开始  
stylesheet  定义一个外部加载的样式表  
subsection  作为文档的一小部分

这里的rel可以对搜索产生影响,rel在a中也出现,当属性中又nofellow则不会跟踪链接。
rel还是有用的,建议对应的可以添加上,添加到head里面,这里看的是wordpress


·上一篇:牛人优化小站入1亿IP >>    ·下一篇:seo 更新更新频率频率 >>
推荐文章
最新文章