To prepare a gluten-free version of this Candy Cane Cookies Recipe, substitute the all-purpose flour with a high-quality 1:1 gluten-free flour blend. Ensure the blend contains xanthan gum or a similar binder. The cookies may be slightly more delicate in texture, but they will still retain their festive appearance and buttery flavor.