The extension for Sphinx documentation projects that handle redirects for moved pages. It generates HTML pages with meta refresh redirects to the new page location to prevent 404 errors if you rename or move your documents.
Low maintenance activity. Last release 11 months ago, commits in 0 of the last 26 weeks. Weaker on commit activity and release cadence.
pip install sphinx-reredirectssphinx-reredirects
The extension for Sphinx documentation projects that handle redirects for moved pages. It generates HTML pages with meta refresh redirects to the new page location to prevent 404 errors if you rename or move your documents.
The sphinx-reredirects started from the urge to manage redirects for all documents after moving our Tech writer at work blog to the new address at https://documatt.com/blog/.
Prevents 404 errors · Wildcard matching · Dynamic placeholders
Cross-domain redirects · Centralized configuration in conf.py
Easy to use · Works seamlessly with Sphinx
📚 Documentation · 📟 Source code
Good URLs are never changing URLs. But if you must, sphinx-reredirects helps you manage redirects with ease and from a single place in the project's conf.py.
For example, if you rename document to , and tell it to sphinx-reredirects, it will generate the HTML page with client-side redirect (requires no server-side configuration).
