ssl - 如何修复 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>
我怎么能找到这个?
解决方案
<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
推荐阅读
- c++ - 我想知道临时对象(name_compare())是按值传递还是通过引用 std::sort
- php - PHP Fwrite:如何在最后一行写入文件而不清除文档的所有内容
- c# - C# Deedle Dataframe 比较列以创建新的结果列
- javascript - Django 表单 JSON
- java - 使用 SharedPreferences 保存复选框,java
- android-studio - 计算从今天到下一个生日的天数
- sprite-kit - 如何在 SpriteKit 中从一个场景委托另一个场景?
- c# - 无法在 SharePoint 2013 场解决方案上加载文件或程序集
- javascript - 如何将多个对象添加到数组中?(JavaScript)
- terminal - Unable to add 'nvm' plugin to zsh through oh my zsh