Fix redirection to respect CONFIG