gpt4 book ai didi

ajax - 当链接重定向到 ajax 链接时,google 爬虫是否会使用 ajax _escaped_fragment_ 格式?

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

我知道我可以反其道而行之,并让 server.com/#!/mystuff 成为可 ajax 抓取的,但我想知道是否可以反其道而行之。如果我有 server.com/mystuff 并将重定向发送到 server.com/#!/mystuff,那么 google 爬虫是否会通过重命名过程运行该 url,以便它跟随重定向到 server.com/?escaped_fragment=mystuff?

最佳答案

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

Question: When should I use _escaped_fragment_ and when should I use #! in my AJAX URLs?

Your site should always use the #! syntax in all URLs that have adopted the AJAX crawling scheme. Googlebot will not follow hyperlinks in the _escaped_fragment_ format.

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

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

关于ajax - 当链接重定向到 ajax 链接时,google 爬虫是否会使用 ajax _escaped_fragment_ 格式?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/22521779/

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