duanhuantong8278 2011-09-19 06:22
浏览 132
已采纳

方法:如何在不重新加载页面和索引整个URL的情况下更改URL(使用anchor#part)?

I need Google indexes full URL with anchor part (http://example.com#!/1234).

User enters on http://example.com/. Then he click a reference and the address of the page changes to http://example.com#!/1234 (something happens, page does not reload). If user types the address (http://example.com#!/1234) directly to address line of a browser and presses Enter then corresponding page loads. It may have differencies from http://example.com (it looks like user has done the action of clicking).

In this case Google can index http://example.com#!/1234 as independent resource.

How to provide the behavior? We have Javascript and any backend language.

  • 写回答

1条回答 默认 最新

  • duanping5306 2011-09-19 06:26
    关注

    See the documentation here: http://code.google.com/web/ajaxcrawling/docs/getting-started.html

    And specifically the parts relating to _escaped_fragment_.

    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论

报告相同问题?

悬赏问题

  • ¥15 k8s部署jupyterlab,jupyterlab保存不了文件
  • ¥15 ubuntu虚拟机打包apk错误
  • ¥199 rust编程架构设计的方案 有偿
  • ¥15 回答4f系统的像差计算
  • ¥15 java如何提取出pdf里的文字?
  • ¥100 求三轴之间相互配合画圆以及直线的算法
  • ¥100 c语言,请帮蒟蒻写一个题的范例作参考
  • ¥15 名为“Product”的列已属于此 DataTable
  • ¥15 安卓adb backup备份应用数据失败
  • ¥15 eclipse运行项目时遇到的问题