The best way to store them long term is in glass jars out of the light and in a cool, but not cold place.
The problem with storing them in the cold, such as the freezer is that condensation is likely when you take the herbs out which is not good for many herbs.