Google 网站站长提取为 google 问题

Google webmaster fetch as google issue

我有一个 angularjs 应用程序。为了使应用程序 Ajax 可抓取,我将所有“#”更改为“#!” .当我尝试使用 google 网站管理员工具进行更改时,结果仍然会被重定向到索引页(首页)。我的网站 URL 就像 https://www.sample.com/web/ and the rest of the URL im entering for fetch and render is like, #!/wellness . The issue is, Im always getting the rendering googlebot snapshot as the homepage(image of https://www.sample.com/web/)。该获取尝试的 "path" 列是 /(我输入的部分是 #!/wellness 不存在)。

我终于找到了解决办法。虽然 Google 网络爬虫识别 #!转义片段提取,因为 Google bot 需要手动输入

如果有人需要有关此类问题的帮助,请参考这些 link。 下面是 link 一个与我完全一样的问题,它有答案

https://productforums.google.com/forum/#!msg/webmasters/fZjdyjq0n98/PZ-nlq_2RjcJ

下面link对这些问题进行完整的解释

Google bot crawling on AngularJS site with HTML5 Mode routes