How to configure Magento to use SSL/HTTPS

Magento 1.x

To configure your Magento 1.x website to open via HTTPS, you must first log in your Magento admin panel -> System tab -> Configuration. Then under the General section select Web.

Then expand the Secure section and change the Base URL to

Change the value of the Use Secure URLs in Frontend and Use Secure URLs in Admin options to Yes and save the changes.

Finally clear the Magento cache in order for the changes to properly appear.

Magento 2.x

To set up your Magento 2.x to work via HTTPS, go to your Magento admin panel -> Stores -> Configuration -> Web. Then expand the Base URLs (Secure) section and change the URL in the Secure Base URL field to:

Also change the value of the Use Secure URLs on Storefront and Use Secure URLs in Admin options to Yes and save the changes using the Save Config button.

The final step is to clear the Magento cache in order for the changes to apply.

You find this article useful? Click here to learn more about SiteGround web hosting experts and what else we can do for you!