How to Force SSL

Troubleshooting SSL Installation: Getting the Padlock Icon and HTTPS

You just installed SSL, but you cannot find the secured padlock icon and HTTPS in front of your domain. Instead, your domain still loads with HTTP, and the insecure icon is warning visitors to beware of your site. Not to worry—this might be due to some insecure links on your website, and you need to manually force SSL on your site.

Step-by-Step Guide to Ensure SSL is Fully Functional

  1. Confirm SSL Installation:

    • Visit SSL Shopper to confirm SSL has been installed on your site.
  2. Check for Insecure Content:

    • Use Why No Padlock to check why your site is not secured with a padlock.
    • Simply type in the full URL of your website into the box and get a report about your SSL to determine if it is fully installed.
  3. Force HTTPS Manually:

    • Click "More Info" in front of Force HTTPS on Why No Padlock.
    • Copy the provided code and save it in your notepad.
  4. Update Your .htaccess File:

    • Go to the File Manager in your hosting panel.

    • Inside the public_html folder, open the .htaccess file. If you can’t locate it, make sure to create or unhide it.

    • Scroll down to find RewriteEngine On and insert the following lines of code below it:

      plaintext
      RewriteEngine On RewriteCond %{HTTP_HOST} yourdomain.com [NC] RewriteCond %{SERVER_PORT} 80 RewriteRule ^(.*)$ https://yourdomain.com/$1 [R,L]
    • Replace yourdomain.com with your actual domain name.

    • Save the changes.

  5. Verify the Changes:

    • Go back to your browser and refresh the page to view your site.
    • Refresh your information on Why No Padlock to ensure everything is working correctly.

By following these steps, you should be able to secure your site with SSL, ensuring the padlock icon and HTTPS are displayed correctly. For further assistance, please contact our support team.

  • 0 Usuários acharam útil
Esta resposta lhe foi útil?

Artigos Relacionados

How to Install AutoSSL certificate in cPanel

  Importance of SSL Certificates and How SkyWebHosting Supports Them...

Powered by WHMCompleteSolution