gpt4 book ai didi

http - Magento,所有页面都重定向到 HTTPS

转载 作者:太空宇宙 更新时间:2023-11-03 14:18:40 25 4
gpt4 key购买 nike

我最近被要求调查的一个 Magento 站点最近将所有流量重定向到 HTTPS。当页面上的链接指向带有 SEO URL 的 HTTP 时,Magento 会返回带有目录 URL 的 HTTPS 页面。

我不确定是否有人进入并更改了 SSL 设置,是否有任何我可以检查或更改以使其恢复正常的内容。如何指定站点的哪些区域是 HTTPS?

非常感谢您的帮助。

最佳答案

i) 在管理控制台中检查 Base Url。

Admin --> System --> Configuration --> Web --> UnSecure --> BAse Url & Base Link Url

如果它在 https 中,请将其更改为 http。

ii) 检查你的 htaccess。如果您不确定发生了什么变化。备份你的 htaccess 并创建一个新的 htaccess。将 htaccess.sample 复制到您的 magento 根文件夹并将名称更改为 .htaccess

Before these two steps make sure that you have the right configuration in your ssl.conf

关于http - Magento,所有页面都重定向到 HTTPS,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/13042718/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com