gpt4 book ai didi

url - URL 约定中的新 `#!` 是什么?

转载 作者:行者123 更新时间:2023-12-02 06:18:38 24 4
gpt4 key购买 nike

Possible Duplicate:
What's the shebang/hashbang (#!) in Facebook and new Twitter URLs for?

我注意到一些热门网站开始切换到新的 URL(约定?),其中 URI 段不再以 / 为前缀。而是通过#!/ .

例如,如果您在 Twitter 中输入 http://twitter.com/stackoverflow ,它会立即重定向到 http://twitter.com/#!/stackoverflow .

如果我只在 Twitter 上看到这个,我不会再三考虑,但现在我在其他网站上看到了这个。

这是 URL 重定向的新约定吗?我可以在哪里了解更多相关信息?

最佳答案

它是由 Google 发起的 ( http://code.google.com/web/ajaxcrawling/ )

If you're running an AJAX application with content that you'd like to appear in search results, we have a new process that, when implemented, can help Google (and potentially other search engines) crawl and index your content. Historically, AJAX applications have been difficult for search engines to process because AJAX content is produced dynamically by the browser and thus not visible to crawlers. While there are existing methods for dealing with this problem, they involve regular manual maintenance to keep the content up-to-date.

看看这里的答案:

What's the shebang/hashbang (#!) in Facebook and new Twitter URLs for?

关于使用此功能的意见存在分歧 - Gawker 在接受此功能后遇到了重大问题:http://www.webmonkey.com/2011/02/gawker-learns-the-hard-way-why-hash-bang-urls-are-evil/

关于url - URL 约定中的新 `#!` 是什么?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/6180539/

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