Optimise menu URLs