Mother earth news gives advice on how to prevent cabbage worms and maggots. They tell you how to plant and then how to maintain the soil to keep the worms from laying their eggs on soil the larva can burrow into. If they can’t burrow in then they can’t eat the roots and kill your cabbage.