Before planting garlic, onions, or shallots, the soil needs a little TLC to set them up for success. Alliums love loose, well-drained soil that's rich in organic matter.
and don't grow onions on the same site for at least eight years. There's no chemical control or resistant varieties. Onion fly - onions are particularly prone to this larval fly but shallots ...