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 ? – Suresh Chikani Sep 6 '16 at 17:40
  • I ask to check it, please provide me your email address. – Sourav Sep 6 '16 at 17:55

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

web/secure/base_url

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

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

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