gpt4 book ai didi

ajax - AJAX 站点的 Google 索引 : how to transition from _escaped_fragment_ method?

转载 作者:塔克拉玛干 更新时间:2023-11-03 02:35:57 25 4
gpt4 key购买 nike

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

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

https://tweepi.com/app/#!/help is statically served when requesting 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

最佳答案

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

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

关于ajax - AJAX 站点的 Google 索引 : how to transition from _escaped_fragment_ method?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/41821345/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com