Skip to content
Cloudflare Docs

Always Use HTTPS

Always Use HTTPS redirects all your visitor requests from http to https, for all subdomains and hosts in your application.

Cloudflare recommends not performing redirects at your origin web server, as this can cause redirect loop errors.

Availability

Free Pro Business Enterprise

Availability

Yes

Yes

Yes

Yes

Encrypt all visitor traffic

To redirect traffic for all subdomains and hosts in your application, you can enable Always Use HTTPS.

To enable Always Use HTTPS in the dashboard:

  1. In the Cloudflare dashboard, go to the SSL/TLS Overview page.

    Go to Overview
  2. Make sure that your SSL/TLS encryption mode is not set to Off. When you set your encryption mode to Off, the Always Use HTTPS option will not be visible in your Cloudflare dashboard.

  3. Go to the Edge Certificates page.

  4. Turn on Always Use HTTPS.

Limitations

Forcing HTTPS does not resolve issues with mixed content, 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 Automatic HTTPS Rewrites functionality.