To change the route taken by something.
We'll have to reroute some buses to avoid the construction work.