Skip to content

x/website: provide redirects from go.dev to pkg.go.dev for popular repository names #62149

Closed as not planned
@kevinburke

Description

@kevinburke

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

Did you mean https://pkg.go.dev/(your url)

Metadata

Metadata

Assignees

No one assigned

    Labels

    FeatureRequestIssues asking for a new feature that does not need a proposal.NeedsInvestigationSomeone must examine and confirm this is a valid issue and not a duplicate of an existing one.website

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions