【问题标题】:I want to use https in opencart checkout page only, the rest page should have http我只想在 opencart 结帐页面中使用 https,其余页面应该有 http
【发布时间】:2014-03-02 11:39:37
【问题描述】:

我已经安装了 ssl 证书,我只想在结帐页面中使用 https。我在设置中设置了ssl。它仍然在所有页面中显示 https。

请告诉我解决方法。

谢谢!

【问题讨论】:

  • 适当链接即可。如果你明确指向http://example.com,应该没问题。

标签: .htaccess ssl https opencart checkout


【解决方案1】:

默认情况下,Opencart 仅在结帐页面和用户登录时使用 ssl,因此在所有 url 中拥有 https 的唯一方法是通过 .htaccess 强制,如果是这种情况,最简单的解决方案是删除在 .htaccess 中强制 https 的重定向,在 opencart 后端启用 ssl 并将配置文件站点 url 从 http 更改为 https,尽管这些是您之前应该采取的步骤,并且简单地删除 .htaccess 中的正确行就足够了。

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2011-01-11
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多