You are a genius!!!
Thank you so much for helping me to fix my webpage.
It’s already worked without the plugin suggested in the article, but to make 100% sure it will keep working well, I will install a Really Simple SSL plugin. I only set to ON the “Always Use HTTPS” and “Automatic HTTPS Rewrites” on Cloudflare as on the course I’m doing, they suggest to set ON.