标签:des style blog class c code
1. title中包含关键词
2. title和description字数要合适
3. 首页和栏目页要有title和description,内面可以忽略description和keywords
4. (长尾)关键词部署。使用b等权重标签。
5. 单页面优化。一定的内容支持和权重导向,单页面优化难度相对较大。
6. url优化。一是短,二是包含关键词,三是url字母全部小写。
7. img标签要有alt属性
8. h标签
9. nofollow
10. index和follow
index:可以索引本页
follow:可以跟踪本页链接
<meta name="robots" content="index,follow">
<meta name="baiduspider" content="index,follow">
缺省为index,follow,index,follow可写为all,noindex,nofollow可写为none。
11. robots.txt
User-agent:
Disallow:
注意:冒号后要有一个空格
12. flash
如果是flash站,则需要在页面上加上一个通往html版本的链接。
13. 网站地图
分为:html版和xml版
xml版写法如下:
1 <?xml version="1.0" encoding="utf-8"> 2 <urlset xmls="http://www.sitemaps.org/schemas/sitemap/0.9"> 3 <url> 4 <loc>http://www.zhenkubi.com</loc> 5 <lastmod>2014-05-10</lastmod><!--注意时间格式--> 6 <changefreq>always(hourly,daily,weekly,monthly,yearly,never)</changefreq> 7 <priolity>1.0</priolity><!--页面优化级,取值范围0.0-1.0,默认为0.5--> 8 </url> 9 <url> 10 ... 11 </url> 12 </urlset>
14. 站内链接
15. 关键词密度
标签:des style blog class c code
原文地址:http://www.cnblogs.com/weiheli/p/3738408.html