Skip to content

Redirects: suggest redirect when changing a slug of a version #11978

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

Open
stsewd opened this issue Feb 5, 2025 · 0 comments
Open

Redirects: suggest redirect when changing a slug of a version #11978

stsewd opened this issue Feb 5, 2025 · 0 comments
Labels
Feature New feature

Comments

@stsewd
Copy link
Member

stsewd commented Feb 5, 2025

What's the problem this feature will solve?

Changing the slug of an active version will delete its old documentation, leading to 404s, we want to suggest users creating a redirect after the change has been done.

Describe the solution you'd like

Suggest the creation of a redirect after the slug has been changed. Maybe in a message (ephemeral), or a notification (can be dismissed). That message can contain the values of the redirect that needs to be created (exact redirect, /{prefix}/{old-slug}/* -> /{prefix}/{new-slug}/:splat, we could also use some query params to prefill that information into the redirect form (/redirects/new?type=exact...).

Alternative solutions

404

Additional context

#11930

@humitos humitos added the Feature New feature label Feb 5, 2025
@github-project-automation github-project-automation bot moved this to Planned in 📍Roadmap Feb 12, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature New feature
Projects
Status: Planned
Development

No branches or pull requests

2 participants