I have found the the ketogenic diet (which cuts out gluten entirely if you keep to a strict diet) works really well for migraines and those that suffer from seizures. The diet was first introduced to help children with epilepsy but is being used more and more with in the community of health nuts. The diet focuses on eating a high fat (healthy animal fats and vegetable fats), balanced protein (most Americans eat 2x the amount of protein they should in one day), low to no carbohydrates.
The idea that the majority of our calories should come from carbohydrates is insane. Carbohydrates are digested straight into SUGAR which completely throws off our bodies homeostasis and is a leading contributor to migraines. The FDA recommends 6-11 servings of breads, pastas, and etc carbohydrates which turns into between 1.5 and 2 cups of sugar. We may as well take out our table sugar, measure out 2 cups and just eat it. That's all our bodies are getting anyways.
The only negative side effect I have had from eating this way is I lose weight, which to be honest is not a terrible thing. I have done HOURS of research to make sure I won't harm myself with high cholesterol levels and even had my lipid levels checked and to be honest, my HDL was in the 80s, LDL in the 40s, VLDL was 2, and my Triglycerides were around 50ish. My ratio was better than normal and if I had heart disease my blood work said that my body would be healing itself.