How-To
← All guidesWebsites & Domains

How to Redirect HTTP to HTTPS

Send visitors from an insecure HTTP URL to the HTTPS version.

Quick Answer

Configure a permanent server/platform redirect after confirming HTTPS works correctly.

Step by Step

  1. Confirm the site loads correctly over HTTPS first.
  2. Use the web server, hosting panel, CDN, or application platform's supported redirect setting.
  3. Redirect HTTP requests to the matching HTTPS hostname/path.
  4. Use a permanent redirect when the migration is intended to be permanent.
  5. Test several URLs, not just the homepage.

If That Doesn't Work

  • Do not force HTTPS before a valid certificate is working.
  • Avoid redirect loops between the application, proxy, CDN, and web server.

Related Guides