GitHub 存储库未在 Google 搜索中列出 - 无法提交 url

Jen*_*aKh 4 github web-crawler google-search google-crawlers google-index

一周前我已经公开了我的 Github 存储库,但即使我像site:https://github.com/user/reponame. Stackoverflow 上类似问题的答案建议通过链接https://www.google.com/webmasters/tools/submit-url将 repo 的 url 提供给 Google 搜索,但它不再起作用(我找到了文章https ://www.searchenginejournal.com/google-removes-public-url-submission-tool)。

如何让我的存储库 ( https://github.com/ZhenyaKh/replace-switches ) 对其他人可见?

Jen*_*aKh 5

我为我的用户帐户和我的项目(我想编入索引的存储库)创建了 GitHub 页面,如此处所提议的https://github.community/t5/How-to-use-Git-and-GitHub/My-GitHub -repositories-are-not-known-by-Google/td-p/12993

所以产生的链接看起来像https://username.github.iohttps://username.github.io/reponame。由于我是 的“所有者” https://username.github.io,因此我将该网站添加为“财产”,并使用 Google Search Console 验证了我对“财产”的所有权。然后,同样在 Google Search Console 中,我手动请求对https://username.github.iohttps://username.github.io/reponame. 这使得这两个页面出现在 Google 搜索的结果中。但是我的 GitHub 存储库仍然没有出现在 Google 搜索的结果中,即使它的链接出现在两个索引的 GitHub 页面上。

但是第二天我发现我的 GitHub repo 意外出现在 Google 搜索结果中。所以看起来创建 GitHub Pages 的整个想法对我来说都是可行的。


尽管如此,我还在 GitHub 存储库的标题中添加了主题(即标签)、描述和网站。也许,这就是诀窍:

在此处输入图片说明