To prepare these cookies gluten-free, substitute the all-purpose flour with a high-quality 1:1 gluten-free flour blend that includes a binder such as xanthan gum. Ensure the candied ginger is processed in a certified gluten-free facility to avoid cross-contamination.