How to use SSL/HTTPS and to configure it to Magento ?

So you want to configure SSL/HTTPS to Magento ?

 

Well let's begin with 

Magento 1.x

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

Then expand the Secure section and change the Base URL to

https://yourdomain.com/

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 for the changes to properly appear.

 

For  Magento 2.x

 

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

https://yourdomain.com/

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 Save Config.

The final step is to clear the Magento cache.

 

For More information and help please contact us via support@hostnasi.com

  • 0 Users Found This Useful
Was this answer helpful?

Related Articles

How to force your site to redirect to https (SSL)

Overview You can force your site to redirect to its secure URL by creating a configuration...

How to generate a CSR code in your hostnasi cPanel account

  So you are on the process of purchasing an ssl certificate for your online account then you...

How to install an SSL Certificate in cPanel

SSL installation via cPanel is a pretty simple process, even if you have no special technical...

Forcing https (ssl) on htaccess file

So you need to force your website to always be available via https here is a simple method   To...

SSL certificates overview

Overview Adding an SSL certificate to your domain allows it to be accessed over a secure...

Powered by WHMCompleteSolution