Built for use on grovemade.com, Django Redirector adds simple admin powered 301 redirects.
exact (case insensitive)
Uses caching heavily because the middleware is called on every request.
- redirect rules are cached once
- redirect results are cached per request path
Cache is invalidated when a new rule is saved/added.
Add the package to your python path, pip install, setup.py install, etc.
'django_redirects.middleware.RedirectMiddleware' immediately after
Syncdb, then navigate to your admin panel!
REDIRECT_CACHE_TIME: _default: 60*30_ Seconds to cache individual page redirect results.