【问题标题】:Google indexing of AJAX site: how to transition from _escaped_fragment_ method?AJAX网站的谷歌索引:如何从_escaped_fragment_方法过渡?
【发布时间】:2017-06-08 20:21:07
【问题描述】:

我的网站目前使用 hashbang URL,Google 已弃用在使用 _escaped_fragment_ 查询参数请求时提供静态页面的建议。

使用弃用方法的静态预生成页面示例:

https://tweepi.com/app/#!/help 在请求 https://tweepi.com/app/?_escaped_fragment_=/help 时静态服务

我正在构建一个动态页面,不想继续重新生成静态 HTML 文件。我读过Google's new recommendation,上面写着不要禁止 Googlebot 抓取您网站的 CSS 或 JS 文件。

假设一个带有 URL https://tweepi.com/app/#!/reviews 的新动态页面,当 Google/Bing 抓取我的网站时,以下 URL 应返回什么状态代码以确保获得最佳 SEO 结果? 404? 500? 301重定向?

https://tweepi.com/app/?_escaped_fragment_=/reviews

【问题讨论】:

    标签: ajax seo single-page-application google-search


    【解决方案1】:

    对于 SEO 机器人:url 的 html 快照:https://tweepi.com/app/?_escaped_fragment_=/reviews,(状态代码 200)这对 https://tweepi.com/app/#!/reviews 来说没什么特别的

    用户:404 代表https://tweepi.com/app/?_escaped_fragment_=/reviews

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2016-05-20
      • 2012-12-14
      • 1970-01-01
      • 1970-01-01
      • 2021-09-10
      • 1970-01-01
      相关资源
      最近更新 更多