1. What is SEO
2. Skills
(1) Keywords in url, but not much
http://kbs.kimbs.cn/blog/list/post/30/title/using-ajax/ — it’s right, but too long
http://kbs.kimbs.cn/blog/using-ajax/ — it’s the answer
(2) Keywords in head
[codesyntax lang=”html4strict”]
<title>kimbs.cn - category - sub-category - detail</title>
<meta name="Robots" content="index,follow,all" />
<meta name="Keywords" content="kimbs.cn,Php,Zend Framework,Zend Framework information,Zend Framework practice" />
<meta name="Description" content="kimbs.cn is the place in which sharing the lastest news and tech. in php and zend framework" />
[/codesyntax]
3. 403/404/500 error pages
[codesyntax lang=”text”]
ErrorDocument 403 /path/to/your/error/file/or/script
ErrorDocument 404 /path/to/your/error/file/or/script
ErrorDocument 500 /path/to/your/error/file/or/script
[/codesyntax]
4. ajax : as few as possible
5. check ref="nofollow"
[codesyntax lang=”html4strict”]
<a href="http://www.example.com/" rel="nofollow">discount drugs</a>
[/codesyntax]
6. h1,h2,h3 for keywords
[codesyntax lang=”html4strict”]
<h1>Big Title</h1>
<h2>Sub Title</h2>
<h3>Article Title</h3>
<h4>Author</h4>
[/codesyntax]
7. Alt and Title
[codesyntax lang=”php”]
<a href="http://www.example.com" title="http://www.example.com">example link</a>
<img src="http://www.example.com/example.png" alt="this is an example" title="this is an example" />
[/codesyntax]
8. flash : use embed background text with keywords
[codesyntax lang=”html4strict”]
<script language="javascript">
// use your javascript to embed flash
</script>
<noscript>
// use noscript for seo
<object>
<param ... />
<param ... />
...
</object>
</noscript>
[/codesyntax]
9. url canonicalization
[codesyntax lang=”php”]
RewriteCond %{HTTP_HOST} !^www.kimbs.cn$ [NC]
RewriteRule ^(.*)$ http://www.kimbs.cn/$1 [L,R=301]
[/codesyntax]
10. image src with keywords
[codesyntax lang=”php”]
<img src="http://www.example.com/keyword-1/keyword-2/example.png" alt="this is an example" title="this is an example" />
[/codesyntax]
11. strong or italic your words
<b><strong>, <i><em><cite>
12. use "click here" in your subsites or partner sites
[codesyntax lang=”html4strict”]
<a href="http://www.example.com" title="http://www.example.com">click here</a>
[/codesyntax]
13. no index.php or *.php in url
[codesyntax lang=”text”]
RewriteCond %{REQUEST_URI} index.php [NC]
RewriteRule ^.*$ http://www.kimbs.cn/ [L,R=301]
[/codesyntax]
14. ending url with ‘/’
http://kbs.kimbs.cn/blog/using-ajax — right, but not perfect
http://kbs.kimbs.cn/blog/using-ajax/ — perfect
15. separate keywords with ‘-‘, separate numbers with ‘_’
/for-example-keywords-like-this.html
/2_3_p5.html
16. no special chars in url
[a-zA-Z0-9], + – _ : / ? & .
17. 301 redirections of urls in manner to preserve current ranking
[codesyntax lang=”text”]
RewriteCond %{HTTP_HOST} ^kimbs.cn$ [NC]
RewriteRule ^(.*)$ http://www.kimbs.cn/$1 [L,R=301]
[/codesyntax]
18. Keywords in page header and footer
19. Categories and Urls
http://www.example.com/category/
http://www.example.com/category/sub-category/
http://www.example.com/category/sub-category/product-list/
http://www.example.com/category/sub-category/product-list/product_id/
20. Rss
21. Sitemaps
22. Backlinks in search engine
link:www.kimbs.cn