You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The Redirect feature allows a page to be redirected to another page.
This feature is deprecated in MkDocs 5.5, and removed in MkDocs 6.0, in favour of mkdocs-redirect package.
Description
The mkdocs-redirect package has a long standing problem of compatibility with other plugins, like i18n (suffix and folder), use_directory_urls, etc.
This makes it practically useless.
It is therefore important to keep the redirect option until it works with the rest of the MkDocs environment.
Thanks for suggesting. I'm not sure what you exactly mean about the redirect feature, but you're probably referring to the redirect front matter property that once existed. You can use the redirect.html template, which is undocumented because it is not part of our public API, but it's not expected to be removed anytime soon. In any Markdown file, just set:
The bugs should be fixed in mkdocs-redirects, which is the canonical plugin to provide redirects, since those are a theme-agnostic feature. Thus, we consider this as an upstream issue, but you can use the workaround in the meantime.
Context
The Redirect feature allows a page to be redirected to another page.
This feature is deprecated in MkDocs 5.5, and removed in MkDocs 6.0, in favour of
mkdocs-redirect
package.Description
The
mkdocs-redirect
package has a long standing problem of compatibility with other plugins, likei18n
(suffix and folder),use_directory_urls
, etc.This makes it practically useless.
It is therefore important to keep the
redirect
option until it works with the rest of theMkDocs
environment.Related links
Use Cases
Redirect can be useful when pages are moved, and when using README as index page where they have different locations in repo and on web.
Visuals
No response
Before submitting
The text was updated successfully, but these errors were encountered: