After doing research at the start of last season, I came up with a plan to keep cabbage root flies away from my plants, and it worked: cabbage collars.