I was trying to set up my magento store to use the ssl certificate I just bought and was told to change the base url to https instead of http.

Now the site and magento admin is inaccessible and I get the following 404 page:

enter image description here

Was it a bad idea to change the base url to https and is there any way I can fix this? Thank you

  • tell me your change you have done for change base url ? Sep 6, 2016 at 17:40
  • I ask to check it, please provide me your email address.
    – Sourav
    Sep 6, 2016 at 17:55

2 Answers 2


Find table (core_config_data) from database.

Search below paths under path column:

(web/unsecure/base_url) & set Url without https.

(web/secure/base_url) & set Url with https.

After that your website will work.


Set Secure base url like : https://www.youdomainurl.com/

Do not change unsecure url it must be : http://www.youdomainurl.com/

Use Secure URLs in Frotnend set to "Yes"

Bellow screen shot example for it.

enter image description here

if you can not access admin then you have to change base url directly from database.

Table : core_config_data, change values of


in path column https:// to http://

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.