x/website: provide redirects from go.dev to pkg.go.dev for popular repository names #62149
Labels
FeatureRequest
NeedsInvestigation
Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
website
Milestone
I tried to find the docs for chamber, a CLI tool, by typing "https://go.dev/github.com/segmentio/chamber" in a web browser. This returns a 404 - the URL I was looking for was "https://pkg.go.dev/github.com/segmentio/chamber".
It would be nice if "https://go.dev/github.com" and e.g. bitbucket, gitlab, other popular domains, redirected to https://pkg.go.dev.
Someone with access to the web analytics should be able to easily verify whether this is a popular mistake or not.
Alternatively, if you don't want to redirect, you could add custom text to the 404 page saying
The text was updated successfully, but these errors were encountered: