Repository titles on Google search results #16110
Unanswered
Scotchester
asked this question in
General
Replies: 1 comment
-
Trying out a few other cases outside Wagtail, this seems like a very common issue. I got good results looking for ESLint repositories, and here are a few Microsoft ones to illustrate: Those aren’t nearly as bad, but in my opinion they nonetheless are problematic because they make it harder to identify which page is a repository (vs. a wiki page, issue, etc.) |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
tl;dr: Could GitHub work with Google to ensure that search results for repositories have consistent titles?
Occasionally when I am in a rush and not paying enough attention, I'll put something in my address bar that I expect will use my history or bookmarks to take me to a GitHub repo, but it triggers a Google search instead.
I was recently dismayed to see Google using this title on the result for a project I contribute to, wagtail/wagtail:
Repository results used to use the
<title>
element directly, which is sensibly formatted by GitHub as<title>user-or-org/repo-name: repository description</title>
, then appending- GitHub
to it. From testing searches for some other repos I use, seems like they still do in many cases. But at least sometimes, it appears they're trying to use some of their infinite wisdom to determine what a more helpful result title would be.In the example I gave above "wagtail.org" is a terrible choice for the title of the wagtail/wagtail result, because it loses the
owner/repo
convention we all know so well, and there is a totally separate wagtail/wagtail.org repo for the project website!I guess Google is deriving their custom title from the link in the sidebar here?
I don't know if there is anything GitHub itself can actually do about this, but maybe it could at least use its influence to lean on Google to tweak their results for GitHub repo homepages? This worked successfully for the team that works on the UK NHS website.
Beta Was this translation helpful? Give feedback.
All reactions