The route of the Cycling Road World Championships is changed because of safety fears.