Redirecting on non-get requests