I changed my Magento directory today. I ran these commands through phpMyAdmin before transfering files:
UPDATE core_config_data SET value = 'http://www.yourdomain.com/'
WHERE path = 'web/unsecure/base_url';
UPDATE core_config_data SET value = 'https://www.yourdomain.com/'
WHERE path = 'web/secure/base_url';
After that I cleared cache and session folders under var, everything seemed to work OK, but I'm getting error when trying to checkout
(Error code: ssl_error_bad_cert_domain)
How can I fix that?
Okay, I got it figured out. The certificate was for "mysite.com", but in Magento under System - Configurations - Web - Secure I had put " https://www.mysite.com/ " so after I changed it to " https://mysite.com/ " it works fine.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.