1) Go to file manager and go to the root of your site in Cpanel -> File Manager.
2) In file manager -> Setting, click on it and select SHOW HIDDEN FILES
3) In the site root, create .htaccess if it doesn’t already exist.
4) Enter the following to the .htaccess file and save
RewriteEngine On
RewriteCond %{HTTPS} off
RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]
That's all
Article ID: 1938, Created: December 26, 2017 at 1:13 AM, Modified: December 26, 2017 at 1:13 AM