divert

Definition

To cause something to change course; to distract someone's attention; or to amuse and entertain.

Example

"Officials diverted the river to prevent flooding in the town center."