To make this recipe gluten free, substitute the all-purpose flour with a certified gluten-free plain flour blend designed for baking. Ensure the raspberry jam and coconut products are labeled gluten free, as some brands may contain trace gluten due to processing.