简体   繁体   English

Google Not Indexing AJAX URL

[英]Google Not Indexing AJAX URLs

I have submitted a sitemap for my AJAX web application to Google via their Webmaster Tools. 我已通过其网站站长工具向Google提交了我的AJAX网络应用程序的站点地图。 The submitted URLs are of the form: 提交的网址格式如下:

  • http://www.mysite.com/#!myscreen;id=object-id
  • http://www.mysite.com/#!myotherscreen;id=another-id

However, even though more than a week has passed since sitemap submission, Google has not indexed the URLs. 但是,即使自提交站点地图已过去一周以上,Google也没有为这些网址编制索引。 Google states that the sitemap has been processed, states that 60 URLs have been detected, states that no errors occurred, but does not index any of the URLs. Google声明已经处理了站点地图,声明已检测到60个网址,表明未发生任何错误,但未对任何网址编制索引。

I have already implemented the AJAX crawlability contract on the server side, where requests containing an _escaped_fragment_ are responded to with a snapshot. 我已经在服务器端实现了AJAX可抓取性合同,其中包含_escaped_fragment_的请求被快照响应。

Any help/info regarding why Google is not indexing the URLs would be greatly appreciated. 任何有关Google未将网址编入索引的帮助/信息都将不胜感激。

See GWT SE friendly application 请参阅GWT SE友好应用程序

Suggestions include following the guide at http://code.google.com/web/ajaxcrawling/ . 建议请参阅http://code.google.com/web/ajaxcrawling/上的指南。

Nowadays, you don't need to do something specific for Google anymore, and AJAX crawling scheme has been deprecated been Google . 如今,您不再需要针对Google执行某些特定操作,并且Google弃用 AJAX抓取方案。

Just make sure that your website is easy to use for your users, and Google will be able to properly crawl it. 只需确保您的网站易于为您的用户使用,Google就能够正确抓取该网站。

If you want to go the extra mile, however, you can check that article: * https://moz.com/blog/optimizing-angularjs-single-page-applications-googlebot-crawlers 但是,如果您想加倍努力,可以查看该文章:* https://moz.com/blog/optimizing-angularjs-single-page-applications-googlebot-crawlers

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

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