To change the direction or course of something. The construction work will divert traffic to a different route.
To distract someone from something. She tried to divert his attention from the negative news.
The magician's tricks were meant to divert the audience.