Fix bug 145: finish 'exclude redirect' implementation