To make this recipe gluten-free, substitute the all-purpose flour with a 1:1 gluten-free flour blend. Ensure that the blend includes xanthan gum or a similar binding agent for optimal texture. Verify that your almond extract and other ingredients are certified gluten-free.