简体   繁体   English

哪个网址对搜索引擎更友好(使用_(低于分数)或-(破折号)?

[英]Which url is more search engine friendly ( using _ (under score) or - (dash)?

i am trying to implement routing on my website. 我正在尝试在我的网站上实施路由。 and just want to know which typr of url is more indexed by goolgle? 只是想知道goolgle对url的哪个打字机进行索引?

examples : 例子 :

  1. http://www.example.com/contact_us http://www.example.com/contact_us
  2. http://www.example.com/contact-us http://www.example.com/contact-us

also i have one more senario 我也有一个senario

  1. http://www.example.com/products-services http://www.example.com/products-services
  2. http://www.example.com/products-and-services http://www.example.com/products-and-services

if i use "and" in url will it make any difference in ranking? 如果我在网址中使用“和”,排名会有所不同吗?

Dashes are much better. 短剑好得多。

Matt Cutts from Google confirmed that in his blog - http://www.mattcutts.com/blog/dashes-vs-underscores/ Google的Matt Cutts在他的博客( http://www.mattcutts.com/blog/dashes-vs-underscores/)中证实了这一点

Regarding "and": check Google Keyword tool. 关于“和”:检查Google关键字工具。 If people search with "and" then use and. 如果人们使用“和”搜索,则使用和。 If not it's better to skip "and" because URL will be shorter and it's good for SEO. 如果不是这样,最好跳过“和”,因为URL会更短,并且对SEO很有用。

dash is best as it consider as word separator 破折号是最好的,因为它被认为是单词分隔符

here is what Matt Cutts quote time to time 这是Matt Cutts不时引用的内容

if you have a url like word1_word2, Google will only return that page if the user searches for word1_word2 (which almost never happens). 如果您有一个类似word1_word2的网址,则只有当用户搜索word1_word2时,Google才会返回该页面(几乎不会发生)。 If you have a url like word1-word2, that page can be returned for the searches word1, word2, and even “word1 word2″. 如果您有一个类似于word1-word2的网址,则可以返回该页面以搜索word1,word2甚至“ word1 word2”。 That's why I would always choose dashes instead of underscores. 这就是为什么我总是选择破折号而不是下划线。

I didn't quite say that in the talk. 我在谈话中没有这么说。 I said that we had someone looking at that now. 我说我们现在有人在看那个。 So I wouldn't consider it a completely done deal at this point. 因此,在这一点上,我认为这并不是一个完全完成的交易。 But note that I also said if you'd already made your site with underscores, it probably wasn't worth trying to migrate all your urls over to dashes. 但是请注意,我还说过,如果您已经在网站上添加了下划线,那么尝试将所有网址迁移到破折号可能就不值得了。 If you're starting fresh, I'd still pick dashes. 如果您刚开始学习,我仍然会选择破折号。

Matt in February at SMX West, he confirmed that underscores were NOT treated as word separators. 马特(Matt)在2月在SMX West举行的活动中,他确认下划线没有被视为单词分隔符。 According to Matt, this change is still in their queue but unlikely to happen before summer. Matt认为,这种变化仍在他们的队列中,但不太可能在夏季之前发生。 My interpretation: don't hold your breath, it's between summer and never. 我的解释是:不要屏住呼吸,这是在夏天到永远之间。

according to most seo article dash is more seo friendly 根据大多数seo文章,破折号对seo更为友好

You might also want to read this SEO difference between dash and hypen 您可能还想阅读破折号和连字符之间的SEO差异

dash (-) and underscore (_) both can be used in the SEO friendly URLs. 连字符(-)和下划线(_)都可以在SEO友好URL中使用。 A dash is seen as a seperation of keywords and can have a good impact on searching while underscore can be seen as a seperation of words in a phrase by some sniffers. 破折号被视为关键字的分隔,可能会对搜索产生良好的影响,而下划线可以被某些嗅探器视为短语中的单词分隔。 There is much more to it, but this is a short answer. 还有很多,但这是一个简短的答案。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM