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

Redirect traffic for "unrecognized" url paths #121

Closed
sammaphey opened this issue Nov 10, 2022 · 1 comment
Closed

Redirect traffic for "unrecognized" url paths #121

sammaphey opened this issue Nov 10, 2022 · 1 comment

Comments

@sammaphey
Copy link

Is there a way to redirect a request for an unrecognized url to the new path but prepended with latest (or whatever you default is)?

For example, if I try to got to http://localhost:800/tutorial/advanced I receive a 404 error, but I would like to be forwarded to http://localhost:800/latest/tutorial/advanced.

Perhaps this is something that can already be done in Material for mkdocs, though I have not found it

@jimporter
Copy link
Owner

This is the same as #72, and planned for 2.0.

@jimporter jimporter closed this as not planned Won't fix, can't repro, duplicate, stale Nov 12, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants