首页 文章

Android应用内容索引

提问于
浏览
1

关于应用程序索引,我感到很困惑 .

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

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

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

还有一个问题是:文档说"Typically, you control how Googlebot crawls publicly accessible URLs on your site by using a robots.txt file. When Googlebot indexes your app content, your app might make HTTP requests as part of its normal operations. However, these requests will appear to your servers as originating from Googlebot. Therefore, you must configure your server's robots.txt file properly to allow these requests."(在页面底部https://developer.android.com/training/app-indexing/enabling-app-indexing.html#robots

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

1 回答

  • 0

    我还没有找到有关Google如何为应用编制索引的信息,但显然它会在编制索引时对Google Play中已发布的APK执行一些检查 .

    在Google Search Console的“Google抓取方式”部分中,您可以在其中测试深层链接,它会显示以下消息:

    获取结果不会反映以下抓取错误:首先单击免费违规,后退按钮违规或内容不匹配违规 .

    显然,谷歌会在对其进行索引时检查您的应用,以防止开发人员欺骗并确保您按预期使用应用索引:提供您网站的内容,但在您的应用中 .

相关问题