Backported commit bd39634f to D6. Adding a feature to disable redirection from within the admin section of a site.