To make this recipe gluten-free, substitute the all-purpose flour with a 1:1 gluten-free baking flour blend that contains xanthan gum. Ensure that the Hershey’s syrup and all other ingredients used are labeled gluten-free, as some variations may contain traces of gluten due to cross-contamination during manufacturing.