To prepare these whoopie pies gluten-free, substitute the all-purpose flour with a 1:1 gluten-free baking flour blend that contains xanthan gum or guar gum for structure. Be sure to verify that your baking powder, baking soda, and powdered sugar are certified gluten-free as well. Keep in mind that the texture may vary slightly, but the flavor will remain exceptional.