Firstly it helped to know that I was actually bringing the eggs and maggots home in things like flour, rice, biscuits and cereals.
1. I went through the entire pantry throwing away anything that appeared suspect or actually contained the little guys.
2. Next, I placed every possible weevil containing dried good into the freezer for a few days, to be sure those eggs were killed.
3. I placed freshly picked lavender and sticks of cinnamon throughout the pantry. You could also use bay leaves and other strong smelling herbs.
4. I setup an EnviroSafe Pantry Moth Trap. The trap releases a pheromone that attracts the moth to certain sticky death.
Now, the first thing I do when I get home with the groceries is put the dry goods into the freezer. Everything except sugar has worked so far. It clumped together rendering it useless....no more pantry moths!