# How to force HTTPS on your website in cPanel

URL: https://shrotihost.in/help/force-https-redirect
Topic: SSL and security. Steps last checked: 2026-11-22. By the Shroti Host team.

> cPanel has a Force HTTPS Redirect switch for each domain, under Domains. Use the switch instead of writing redirect rules by hand. If you get 'too many redirects' after turning it on, a second redirect somewhere else is fighting it.

## Before you start

All hosting plans. The domain needs a valid SSL certificate first: see [how to install a free SSL certificate](https://shrotihost.in/help/install-free-ssl-cpanel).

## Steps

1. Log in to cPanel and open Domains.
2. Find the domain in the list and turn on Force HTTPS Redirect.
3. Remove any http-to-https rewrite rule you added to the .htaccess file earlier. Two redirects that chase each other cause a loop.
4. On WordPress, open Settings, then General, and set both WordPress Address and Site Address to the https:// form. Deactivate any plugin that does the same redirect.
5. If the site is behind a CDN or DNS proxy, set its SSL mode to Full. A Flexible mode connects to the server over http and creates the loop from the other side.

## How to tell it worked

Type http://yourdomain.com (with http) into a private window. The address bar changes to https:// and the page loads with a padlock.

## If it did not work

- The switch is greyed out: the domain has no valid certificate yet. Run AutoSSL from SSL/TLS Status first.
- Still looping after you removed the other redirects: clear the site's cache (and the CDN's, if you use one) and test again in a private window.

## When to contact support

If the loop continues with only the cPanel switch turned on, [open a ticket](https://portal.shrotihost.in/submitticket.php) with the domain name.

Related product: [Shared hosting](https://shrotihost.in/hosting). Every plan includes free SSL, so every site can run on HTTPS.

## Related

- [Install a free SSL certificate](https://shrotihost.in/help/install-free-ssl-cpanel)
- [SSL certificate not issuing](https://shrotihost.in/help/ssl-certificate-not-issuing)
