#! (hashbang)和谷歌搜索引擎优化 [英] #! (hashbang) and Google SEO

查看:260
本文介绍了#! (hashbang)和谷歌搜索引擎优化的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经阅读过谷歌规范爬行支持AJAX的网页。由于谷歌的索引方法的一部分使用URL本身,将转换为!#负面影响搜索引擎优化?

举例来说,如果我有一个页面 www.mysite.com/surfing ,谷歌将有可能给它的高度,如果为冲浪,因为用户搜索它有冲浪的网址。为 www.mysite.com将同样是真实/#!冲浪或者它忽略加权URL本身?的目的哈希代码

解决方案

也许你已经读了!#实际上是转化为谷歌的Ajax抓取的说明?_ escaped_fragment _ 由谷歌爬虫。因此,让我们用你的例子: www.mysite.com /#!冲浪,谷歌的爬虫会看到该链接为 www.mysite.com /?_ escaped_fragment_ =冲浪。因此,它涉及到的问题:什么是谷歌搜索引擎优化与paremeter 链接更好_ escaped_fragment_ =冲浪或不带一个 /冲浪? 搜索工程师重新presentatives已经证实,与超过2动态参数的URL可能不被震垮,除非他们被视为显著重要多次(即有很多很多的链接指向他们)。所以,除非你正在使用的URL参数太多,你没有什么可担心的。如果你还没有做它了,你可以随时阅读详细的谷歌文档,<一个href="https://developers.google.com/webmasters/ajax-crawling/docs/getting-started">https://developers.google.com/webmasters/ajax-crawling/docs/getting-started 。现在,只是一个建议 - 不要依赖在AJAX网站。使用 history.pushState()来改变你的网址,无论你的愿望。我用#!仅在不支持 history.pushState()如IE浏览器。与#!并不构成URL但是从困难的需要为履带提供HTML快照信息的服务器端处理。<搜索引擎优化的问题/ P>

I've read over the Google specification for crawling AJAX-enabled pages. Since part of Google's indexing method uses the URL itself, will converting to !# negatively effect SEO?

For instance, if I have a page at www.mysite.com/surfing, Google will be likely to rate it highly if a user searches for "surfing" because it has "surfing" in the URL. Would the same be true for www.mysite.com/#!surfing or does it ignore the hash fragments for the purposes of weighting the URL itself?

解决方案

Perhaps you have already read in the google Ajax-crawling instructions that the !# is actually transformed into ?_escaped_fragment_ by the google crawler. So let's use your example: www.mysite.com/#!surfing , the google crawler will see the link as www.mysite.com/?_escaped_fragment_=surfing . So it comes to the question : what is better for google SEO a link with a paremeter ?_escaped_fragment_=surfing or without one /surfing ? Search engineer representatives have confirmed on numerous occasions that URLs with more than 2 dynamic parameters may not be spidered unless they are perceived as significantly important (i.e. have many, many links pointing to them). So unless you're using too many parameters in the url, you don't have much to worry about. If you haven't done it already, you can always read the detailed google documentation https://developers.google.com/webmasters/ajax-crawling/docs/getting-started . Now, just an advice - don't rely on # in your AJAX website. Use history.pushState() to change your url to whatever you wish. I use #! only on browsers that don't support history.pushState() like IE. The problem with the SEO with #! doesn't come form the url but from the difficulties in the Server Side processing of the information needed to provide HTML snapshot for the crawler.

这篇关于#! (hashbang)和谷歌搜索引擎优化的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆