Skip to content
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

Improve old API doc link redirects #3001

Open
za3k opened this issue Mar 5, 2025 · 0 comments
Open

Improve old API doc link redirects #3001

za3k opened this issue Mar 5, 2025 · 0 comments

Comments

@za3k
Copy link

za3k commented Mar 5, 2025

Old links such as https://v3.ocaml.org/p/base/v0.15.0 301 redirect to https://ocaml.org, effectively breaking a wide variety of links to ocaml.org across the web.

First, please don't use 301 redirects, in generality, ever. It means that this is now broken for anyone that has followed that link, and there is literally nothing you can do to fix it for those users.

Instead, it should be a 302 redirect to https://ocaml.org/p/base/v0.15.0

(x-ref) janestreet/base#176

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: 📋 Backlog
Development

No branches or pull requests

1 participant