网页的标题和URL中的关键字是搜索引擎给网页进行排名时要考虑的两个重要因素。URL中包含关键字这个因素所占的权重可能要小一些,但它确实会占一些权重。
比如说,当所有其他因素都一样的时候,搜索"iPhone review",页面abc.com/iphone-review 可能会比xyz.com/best-phone or xyz.com/apple-phone-review 排名要高。因为第一个URL中包含了关键字iPhone。

我们可以向Google的工程师Matt Cutts学习如何写出对搜索引擎友好的URLs。他博客文章的URL通常很简洁、简短并且只用相关的关键字。
先看下面这些例子:
标题: I do not wish my screensaver to lock my computer, thank you.
URL: disable-screensaver-password
标题: Get your search fix with two videos
URL: free-search-seo-videos
标题: Protect yourself: get a free credit report
URL: free-credit-report
标题: How to back up your Gmail on Linux in four easy steps
URL: backup-gmail-in-linux-with-getmail
标题: How to stop junk mail
URL: stop-junk-mail
标题: I love my pedometer
URL: best-pedometer
标题: Crap. My Ubuntu machine won’t boot
URL: ubuntu-freeze-no-resume-image
标题: What are the best iPhone applications?
URL: best-iphone-application
从上面这些例子,我们可以看出:
1. 搜索引擎通常会忽略 "the", "a", "are", "is", "of"等等这样的词,因此在URLs中没必要包含这些词。
2. 诸如"How to do this" 或 "Which is the best" 或 "What are the options" 或"When did this happen" 这样的标题可能会很有吸引力,但你没必要把这些词也放到URLs中。.
例如, Matt 在一篇名为"What are the best iPhone Applications."的文章中使用的URL是 "best-iphone-application"。
3. 一些比较重要的不适合放在标题中的内容可以放在URL中。
例如,Matt在"Get your search fix with two videos" 这篇文章使用的URLs是"free-search-seo-video"。在URL中多了两个词(“free”和“SEO”),虽然没在标题中出现,但是确实能帮助说明网页的内容。
4. 最后,尽管Google现在已经能识别“_”,最好还是在URL中使用“-”。
Google可能会给予你的URLs固定的权重并分布到URLs中使用的每一个词中。如果URLs太长,就会削弱每个关键词的权重。因此,如果你能手动改写你的URLS使之包含和内容相关的关键词,一定会有利于页面排名的提高。
原文:Learn the Art of Writing Search Engine Friendly URLs from Matt Cutts
http://www.labnol.org/internet/search/seo-advice-search-friendly-urls/3975/
如需转载,请注明来自豆苗网http://www.doumiao.net,谢谢!

搜藏
添加到雅虎收藏