Knowledge Base
MilesWeb / Magento FAQ

How To Configure Magento 1.x And 2.x To Work With SSL?

Approx. read time : 2 min

Magento 1.x

In order to configure your Magento 1.x website to with the HTTPS protocol:

  • Login to the Magento admin panel
  • Go to the ‘Systems’ tab and click on ‘Configuration’
  • Then go to the ‘General’ section and click on ‘Web’
  • Now expand the secure section and modify the Base URL to the following:
    • https://yourdomainname.com/
  • Modify the value of these attributes – ‘Use Secure URLs in Frontend’ and ‘Use Secure URLs in Admin’ to ‘Yes’
  • Save the changes

Magento 2.x

In order to configure your Magento 2.x website to work with the HTTPS protocol:

  • Login to the Magento admin panel
  • Go to ‘Stores’ >> ‘Configuration’ and click on ‘Web’
  • Next, expand the ‘Base URLs (Secure)’ section and modify the URL present in the ‘Secure Base URL’ to:
    • https://yourdomainname.com/
  • Modify the value of these attributes – ‘Use Secure URLs in Frontend’ and ‘Use Secure URLs in Admin’ to ‘Yes’
  • Save the changes by clicking on ‘Save Config’

Whether you are changing the URL for Magento 1.x or Magento 2.x, your final step is to clear the Magento cache to ensure that the changes are implemented and displayed.

Avatar
My aim is to create enriching content on topics related to SEO, web hosting and social media. The idea is to elevate the readers to new levels of usability, accessibility and understanding.
Need help? We’re always here for you.
DON'T LOSE YOUR FREE TRIAL
OFFER EXPIRES IN
04
min
59
sec
Who is your preferred cloud partner?
Let us know and we’ll manage it for you
Amazon Cloud
Digital Ocean Cloud
No, thank you