将 Magento 后端设置为“在前端使用 SSL”并将不安全的 url 和安全的 url 设置为https://xxxxxxxxxxxx.com/shop时,如果我查看源 Magento 没有显示带有 https:// 的引用,因此给出不安全的内容警告..
我不知道为什么会这样。
<link rel="stylesheet" type="text/css" href="http://xxxxxxxxxxxxxx.com/shop/skin/frontend/default/default/css/styles.css" media="all" />
<link rel="stylesheet" type="text/css" href="http://xxxxxxxxxxxxxx.com/shop/skin/frontend/base/default/css/widgets.css" media="all" />
<link rel="stylesheet" type="text/css" href="http://xxxxxxxxxxxxxx.com/shop/skin/frontend/default/default/css/sidenav.css" media="all" />
<link rel="stylesheet" type="text/css" href="http://xxxxxxxxxxxxxx.com/shop/skin/frontend/default/default/css/sidenavcollapse.css" media="all" />
<link rel="stylesheet" type="text/css" href="http://xxxxxxxxxxxxxx.com/shop/skin/frontend/default/default/css/webtex/bubble.css" media="all" />
<link rel="stylesheet" type="text/css" href="http://xxxxxxxxxxxxxx.com/shop/skin/frontend/default/default/css/print.css" media="print" />
<script type="text/javascript" src="http://xxxxxxxxxxxxxx.com/shop/js/prototype/prototype.js"></script>
<script type="text/javascript" src="http://xxxxxxxxxxxxxx.com/shop/js/lib/ccard.js"></script>
<script type="text/javascript" src="http://xxxxxxxxxxxxxx.com/shop/js/prototype/validation.js"></script>
<script type="text/javascript" src="http://xxxxxxxxxxxxxx.com/shop/js/scriptaculous/builder.js"></script>
<script type="text/javascript" src="http://xxxxxxxxxxxxxx.com/shop/js/scriptaculous/effects.js"></script>
<script type="text/javascript" src="http://xxxxxxxxxxxxxx.com/shop/js/scriptaculous/dragdrop.js"></script>
<script type="text/javascript" src="http://xxxxxxxxxxxxxx.com/shop/js/scriptaculous/controls.js"></script>