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

Remove the version number in the URL #334

Open
AlexBarth13 opened this issue Apr 29, 2022 · 1 comment · May be fixed by #419
Open

Remove the version number in the URL #334

AlexBarth13 opened this issue Apr 29, 2022 · 1 comment · May be fixed by #419
Assignees

Comments

@AlexBarth13
Copy link

It would be great if the URLs in the documentation can be used without the version number in it and the request will be automatically redirected to the latest version.
Example:
Working: https://goharbor.io/docs/2.4.0/administration/configure-proxy-cache/
Not working: https://goharbor.io/docs/administration/configure-proxy-cache/

Example from Tanzu:
https://docs.pivotal.io/application-service/concepts/overview.html will be automatically redirected to
https://docs.pivotal.io/application-service/2-12/concepts/overview.html

Thanks a lot!



Alexander Barth ([email protected]) on behalf of Mercedes-Benz Tech Innovation GmbH, Provider Information

@OrlinVasilev OrlinVasilev self-assigned this Apr 29, 2022
@a-mccarthy
Copy link
Collaborator

thanks for filing @AlexBarth13!

For more context on redirects in general, we have a redirect in place for docs/latest to send folks to the latest version. Redirects for the /latest are in this file, https://github.com/goharbor/website/blob/main/layouts/index.redirects.

And it looks like there might be a redirect in place already that tries to do this, but isn't working.

@PaarthAgarwal PaarthAgarwal linked a pull request Feb 13, 2023 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants