To make this recipe gluten-free, substitute the all-purpose flour with a gluten-free all-purpose flour blend that includes xanthan gum or a similar binder. Ensure that all other ingredients, such as the white chocolate, are certified gluten-free to avoid cross-contamination.