【问题标题】:Will the google crawler use ajax _escaped_fragment_ format when a link redirects to an ajax link?当链接重定向到 ajax 链接时,google 爬虫会使用 ajax _escaped_fragment_ 格式吗?
【发布时间】:2014-04-26 15:18:01
【问题描述】:

我知道我可以做相反的事情并让server.com/#!/mystuff 可以通过 ajax 抓取,但我想知道是否可以反过来。如果我有server.com/mystuff 并且发送重定向到server.com/#!/mystuff,那么谷歌爬虫是否会通过它的重命名过程运行该url,以便它跟随重定向到server.com/?escaped_fragment=mystuff

【问题讨论】:

  • 这个问题似乎是题外话,因为它是关于 SEO
  • 真的。对我可能会提出这个问题的 stackexchange 社区有什么建议吗?

标签: ajax mod-rewrite seo googlebot google-crawlers


【解决方案1】:

根据网站管理员工具,没有 [1]。

问题:什么时候应该使用_escaped_fragment_,什么时候应该使用#!在我的 AJAX 网址中?

您的网站应始终使用 #!所有采用 AJAX 爬取方案的 URL 中的语法。 Googlebot 不会跟踪 _escaped_fragment_ 格式的超链接。

然而,现实似乎有点不同。我注意到 googlebot 跟踪转义格式的链接。

[1]https://developers.google.com/webmasters/ajax-crawling/docs/faq

【讨论】:

  • 如果不想使用散列碎片,也可以在头部添加:
猜你喜欢
  • 2015-12-02
  • 1970-01-01
  • 2010-11-10
  • 1970-01-01
  • 2012-04-12
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
相关资源
最近更新 更多