首页 > 解决方案 > 如何修复 magento v1.9 中的混合(不安全)错误

问题描述

我有这个网站https://www.arias.ir .my cms 是 magento v1.9 。我的 SSL 徽标中有警告,我发现这个错误 Loading mixed (insecure) display content “https://arias.ir/media/wysiwyg/logo-nt.png on a secure page 我也从我的主机中删除了这个文件,但不要解决这个错误。请帮我解决这个问题。而且我没有在我的网站中找到这个 HTML 代码来更改它。

<h2 class="small-logo"><strong></strong><a href="https://arias.ir/" title="" class="logo"><img src="http://arias.ir/media/wysiwyg/logo-nt.png" alt="" /></a></h2>

我怎么能找到这个?

标签: sslmagentopngmagento-1.9mixed-content

解决方案


<img src="http://arias.ir/media/wysiwyg/logo-nt.png"  alt="" /></a></h2>

您可能已经注意到,问题在于这个标签 img 试图通过 http 从直接 URL 加载图像,这不是安全 URL。

由于这是一个徽标,看起来,您可以在系统配置上对其进行编辑。如果没有,只需编辑您的主题 phtml。

尝试访问您的system -> configuration -> general -> design -> header -> logo src


推荐阅读