Skip to content

Redirect /org/<name> to /~<name> when name is a user, not an org #3213

Description

@outslept

Describe the bug

On npmjs.com, visiting /org/<name> where <name> belongs to a user (not an org) redirects to that user's page.

For example, https://www.npmjs.com/org/blakeembrey redirects to https://www.npmjs.com/~blakeembrey.

On npmx, both https://npmx.dev/~blakeembrey & https://npmx.dev/org/blakeembrey are valid results.

Additional context

No response

Logs

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    pending triageNew issue waiting for initial maintainer triage

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions