If you have already purchased a SSL for your website and installed it, you can automatically redirect all your visitors to the secured (HTTPS) version of your site for a secure connection.
Note: Custom site configuration that handles redirections/routes can cause issues with the below method, which can be out of our scope of support. Please do not setup redirections in both custom site configurations and also in cPanel together. Instead use only one method.
You can now redirect your visitors from HTTP URLs to HTTPS URLs easily by using the one-click feature provided in cPanel itself;
- Access your cPanel and then click "Domains" icon to list the domain names associated with your account
- Then you will find an option to enable "Force HTTPS Redirect"
- Turn that "on" and all your visitors will be automatically redirected from HTTP to HTTPS