Mine only ride up if they're not put on symmetrically (i.e. the seam is slightly off-centre), as movement causes twisting. If I feel them riding up, straightening things out in the gents once usually sorts it for the rest of the day.
Failing that, go commando.
Failing that, go commando.