Skip to content

Handle updates to organization slugs #562

@allanlasser

Description

@allanlasser

Like with individual profiles, slugs may be changed once before editing them is disabled. If an org admin would like to change their slug again, they need to contact support with a change request. With #506, it's now easier for organizations to request changes to their URL slugs.

We should provide handling for when org slugs change:

  1. When we can’t find an org matching a slug, we can query the table of approved change requests to find an older slug that matches. If we find a match, we can respond with a 301 redirect to the organization's current slug.
  2. Since changing a slug will break existing URLs to the organization’s pages in Accounts, we can handle broken links by showing signed-in users a list of their orgs on any organization 404 pages.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions