Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

x/website: google search results have incorrect title for documentation pages #47805

Closed
prashantv opened this issue Aug 19, 2021 · 3 comments
Closed

Comments

@prashantv
Copy link
Contributor

@prashantv prashantv commented Aug 19, 2021

What did you do?

Search google for "golang net http",
https://www.google.com/search?q=net+http+golang

What did you expect to see?

The first result to be the documentation for net/http and the title of the result to be the title of the page, http · net/http · pkg.go.dev

What did you see instead?

The first result was the correct URL, but the title is incorrect: Documents - The Go Programming Language

Screenshot:
image


This problem seems to affect subpackages, and different searches have different results. E.g., searching for ioutil,
https://www.google.com/search?q=ioutil+golang
has a title of io.ioutil.ReadAll - The Go Programming Language (picks a specific function).

I think this change is related to the stdlib being redirected to pkg.go.dev (referenced in https://go.dev/blog/tidy-web)

@gopherbot gopherbot added this to the Unreleased milestone Aug 19, 2021
@mknyszek mknyszek changed the title x/website: Search results via google have incorrect title for documentation pages x/website: google search results have incorrect title for documentation pages Aug 19, 2021
@mknyszek
Copy link
Contributor

@mknyszek mknyszek commented Aug 19, 2021

Loading

@seankhliao
Copy link
Contributor

@seankhliao seankhliao commented Nov 16, 2021

I think this can be closed now? Google search appears to have updated the indexed titles

Loading

@dmitshur
Copy link
Contributor

@dmitshur dmitshur commented Nov 16, 2021

Agreed, nothing more to do here.

Loading

@dmitshur dmitshur closed this Nov 16, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
5 participants