Use more appropriate redirect codes.