The best way to maintain the freshness of flours and cereals is to store them in the freezer.  This will keep them well past the best-before date.  Be sure to bring products to room temperature before baking.