How do I enable Always Use HTTPS in Cloudflare for my GitHub Pages site?

Responsive Ad Header

Question

Grade: Education Subject: Support
How do I enable Always Use HTTPS in Cloudflare for my GitHub Pages site?
Asked by:
72 Viewed 72 Answers

Answer (72)

Best Answer
(299)
In your Cloudflare dashboard, navigate to 'SSL/TLS' -> 'Edge Certificates'. Enable the 'Always Use HTTPS' option. This automatically redirects all HTTP requests to HTTPS, ensuring a secure connection for all visitors. Also, ensure 'Automatic HTTPS Rewrites' is enabled to fix mixed content issues.