Only do URL rewriting redirect if it's GET request.