Android应用内容索引

时间:2016-08-09 09:36:08

标签: android android-app-indexing google-app-indexing firebase-app-indexing

我对app indexing感到困惑。

首先,有能力Android应用程序处理您的网站链接打开内部应用程序,称为深度链接。只需在清单中描述正确的意图过滤器并处理活动内部的调用即可。

但是有能力通过Googlebot索引应用内容。通过这种方式,我们使用网站来指定索引内容,毕竟谷歌搜索中会有应用页面。

我的问题是:只需在站点地图或页面上的标签中指定关联网站即可在Google搜索中显示我的应用页面,或者严格建议使用FIrebase App Indexing。

还有一个问题是:文档说 "通常,您可以控制Googlebot使用robots.txt文件抓取您网站上可公开访问的网址的方式。当Googlebot为您的应用内容编制索引时,您的应用可能会将HTTP请求作为其正常操作的一部分。但是,这些请求将在您的服务器中显示为源自Googlebot。因此,您必须正确配置服务器的robots.txt文件以允许这些请求。" (在页面https://developer.android.com/training/app-indexing/enabling-app-indexing.html#robots的底部)

Googlebot如何将页面编入索引,为什么它会尝试转到blabla / api(我的应用实现需要mb),如果它只是通过网站及其关联,它启动我的应用程序并在罩?

1 个答案:

答案 0 :(得分:0)

I haven't found information about how Google indexes the apps, but apparently it performs some checks on published APKs in Google Play while indexing.

In Google Search Console's "Fetch as Google" section for your app, where you can test your deep links, it displays the following message:

Fetch results don’t reflect the following crawl errors: First click free violation, back button violation, or content mismatch violation.

So apparently Google checks your app while indexing it, to prevent developers tricks and ensure you use App Indexing as intended: to provide your website's content, but in your app.