To make this recipe gluten-free, substitute the all-purpose flour with a high-quality gluten-free flour blend that includes xanthan gum for structure. Ensure that all other ingredients, such as extracts, are labeled gluten-free to avoid cross-contamination.