【发布时间】:2015-11-02 09:04:51
【问题描述】:
当我在 Google 网站管理员工具中检查 URL 时,我发现了这个。
我在我的网页中添加了 Google Places javascript API,但通过 Google bot 调用时被阻止。我该如何处理?
【问题讨论】:
标签: google-places-api googlebot
当我在 Google 网站管理员工具中检查 URL 时,我发现了这个。
我在我的网页中添加了 Google Places javascript API,但通过 Google bot 调用时被阻止。我该如何处理?
【问题讨论】:
标签: google-places-api googlebot
点击“robots.txt”链接,看看它说了什么。
我想你会看到:
User-agent: *
Allow: /maps/api/js?
Allow: /maps/api/js/DirectionsService.Route
Allow: /maps/api/js/DistanceMatrixService.GetDistanceMatrix
Allow: /maps/api/js/ElevationService.GetElevationForLine
Allow: /maps/api/js/GeocodeService.Search
Allow: /maps/api/js/KmlOverlayService.GetFeature
Allow: /maps/api/js/KmlOverlayService.GetOverlays
Allow: /maps/api/js/LayersService.GetFeature
Disallow: /
...这意味着您尝试的 /maps-api-v3/... 路径确实被禁止。
【讨论】: