Always Use HTTPSAlways Use HTTPS redirects all
httpsfor all subdomains and hosts in your application.
Encrypt all visitor traffic
To redirect traffic for all subdomains and hosts in your application:
- Log in to your and go to a specific domain.
- Navigate to SSL/TLS > Edge Certificates.
- For Always Use HTTPS, switch the toggle to On.
Encrypt some visitor traffic
For example, you could forward traffic from a specific subdomain to HTTPS. You would likely want to include Subpath matching and Preserve path suffix to ensure requests to
http://example.com/examples go to
|Source URL||Target URL||Status||Selected parameters|
|301||Subpath matching and Preserve path suffix|
Forcing HTTPS does not resolve issues with , as browsers check the protocol of included resources before making a request. You will need to use only relative links or HTTPS links on pages that you force to HTTPS. Cloudflare can automatically resolve some mixed-content links using our functionality.