We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
https://docs.readthedocs.io/en/latest/user-defined-redirects.html#redirect-types doesn't mention that Page redirect and Exact redirect can redirect to an external URL, not just to a rtd page #4008 (comment).
Page redirect
Exact redirect
Also, the Exact redirect has an undocumented feature
https://github.com/rtfd/readthedocs.org/blob/e36955f737b810cbda7a07326b933f8cf43bb698/readthedocs/redirects/models.py#L154-L159
Where you can use $rest on the from url to do a redirection similar to Prefix redirect
$rest
from url
Prefix redirect
From url: /dev/v1/$rest To url: /en/latest/
/dev/v1/$rest
/en/latest/
docs.readthedocs.io/dev/v1/install.html -> docs.readthedocs.io/en/latest/install.html
docs.readthedocs.io/dev/v1/install.html
docs.readthedocs.io/en/latest/install.html
The text was updated successfully, but these errors were encountered:
No branches or pull requests
https://docs.readthedocs.io/en/latest/user-defined-redirects.html#redirect-types doesn't mention that
Page redirect
andExact redirect
can redirect to an external URL, not just to a rtd page #4008 (comment).Also, the
Exact redirect
has an undocumented featurehttps://github.com/rtfd/readthedocs.org/blob/e36955f737b810cbda7a07326b933f8cf43bb698/readthedocs/redirects/models.py#L154-L159
Where you can use
$rest
on thefrom url
to do a redirection similar toPrefix redirect
From url:
/dev/v1/$rest
To url:
/en/latest/
docs.readthedocs.io/dev/v1/install.html
->docs.readthedocs.io/en/latest/install.html
The text was updated successfully, but these errors were encountered: