-
-
Notifications
You must be signed in to change notification settings - Fork 3.6k
Relative Links No Redirection #2422
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
Comments
@sjezewski I'm not following you correctly. Why the redirect you suggested is not enough? |
I think its possible to do it that way, but unwieldy. If I have ~500 unique pages on my site, it's kind of a pain to enter 500 new redirect rules to accommodate each page. And harder to keep that list up to date w all the pages (as I add or delete documents from the site). |
It's not the same, but it's related to #2904 |
Although, I think this can be done with our new $rest keyword, see https://docs.readthedocs.io/en/latest/user-defined-redirects.html#exact-redirects |
I think the redirect needed here is |
Details
Expected Result
I would expect
http://pachyderm.readthedocs.io/getting_started/getting_started.html
To redirect to the proper default language / version:
http://pachyderm.readthedocs.io/en/latest/getting_started/getting_started.html
Actual Result
a 404
I've found the
Redirects
section under the admin panel, but I don't see a way to do this for all assets on the site.E.g. A 'prefix redirect' allows me to do:
faq.html -> /$lang/$version/faq.html
But I want to do this for all pages by default. Is there a way to do this?
The text was updated successfully, but these errors were encountered: