【发布时间】:2018-04-19 15:56:28
【问题描述】:
几个月前,我们已经在我们的商店中实施了 https,一切似乎都很好,除了注意到 htaccess 301 重定向的服务器响应似乎不尊重 https://
The server response is similar to this.
Location: http://www.example.com
Redirecting to: http://www.example.com
然后,这会将爬虫引导至页面的 HTTP 版本,然后将 301 引导至 https 版本,从而创建一个循环。
除了这个 301 问题之外,https 在前端和后端都可以正常工作
【问题讨论】:
标签: .htaccess magento redirect http-status-code-301