Implement fail redirects (bug 936126)