站内优化
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. 關鍵詞密度
轉載于:https://www.cnblogs.com/weiheli/p/3738408.html
總結
- 上一篇: c++学习总结:extern声明全局变量
- 下一篇: 控制批量创建新线程