When migrating your site to https://, all elements included in the site must be loaded from pages using https:// and not http://.
If you notice that the green padlock does not appear in the address bar when accessing the site, or the site looks different compared to the http:// version, check the page source (right-click on the page and select View Page Source) and search for http:// to identify elements not loaded via https://
Automatic redirect with .htaccess
To automatically redirect from the http:// version to https://, you can add the following code to the .htaccess file (if you don’t have one, you can create it using a simple text editor or the File Manager in cPanel) in the domain root:
RewriteEngine On
RewriteRule ^(.*)$ https://www.example.com/$1 [R,L]
Replace www.example.com with your site’s domain name.