2015-11-02 88 views
0

當我查看Google網站管理員工具中的網址時,我發現了這一點。谷歌地圖API塊機器人嗎?

Google webmaster tool

我加入谷歌在的地方我的網頁的JavaScript API,但電話被封鎖時,它是通過谷歌機器人。我該如何處理?

回答

1

點擊「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/...路徑確實不允許。

+0

有沒有其他辦法可以實現這個目標? –