To make this recipe gluten-free, substitute the all-purpose flour with a 1:1 gluten-free baking flour blend. Ensure that the cornmeal and all other ingredients are certified gluten-free to avoid cross-contamination. The texture may vary slightly, but the cookies will remain soft and flavorful.