magento 本地后台登录不了,前台不能登陆

C:\xampps\htdocs\html\app\code\core\Mage\Core\Model\Session\Abstract\Varien.php  大概114行 注释掉

 // if (isset($cookieParams['domain'])) {

        //     $cookieParams['domain'] = $cookie->getDomain();

        // }


前台不能 登录注册:

As soon as you have your SSL purchased and installed you can activate it for your Magento store via your Magento Admin panel -> System -> Configuration section.

 

Magento Configuration Menu

 

On the left side you should click on the Web and refer to the Secured menu.

 

Magento Enable SSL

 

In this section you should edit the following values:

 

Base URL: Change the url from http://example.com/ to https://example.com/ where example.com is your actual domain name.

 

Use Secure URLs in Frontend: By default Magento will protect all pages on which your clients input any sensitive information such as check out and register/login pages. Still, if you would like to have your Magento store to work via HTTPS only, you may set this value to YES. Still, be advised that enabling your SSL for your Magento Store frontend might have negative performance effect on your website as data encryption requires additional time and resources from your website.

 

Use Secure URLs in Admin: If you would like to have your Magento Admin panel accessible only via HTTPS you should consider setting this value to YES. 


  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值