<script type=”text/javascript”>
var url=window.location.href;
url=url.replace(“http:”,”https:”)
window.location.replace(url);</script>
<script type=”text/javascript”>
var targetProtocol = “https:”; if (window.location.protocol != targetProtocol) window.location.href = targetProtocol + window.location.href.substring(window.location.protocol.length);</script>
<script type=”text/javascript”>var url = window.location.href; if (url.indexOf(“https”) < 0) {
url = url.replace(“http:”, “https:”); window.location.replace(url);
}</script>
<script type=”text/javascript”>
var targetProtocol = “https:”; if (window.location.protocol != targetProtocol) window.location.href = targetProtocol + window.location.href.substring(window.location.protocol.length);</script>
<script type=”text/javascript”>var url = window.location.href; if (url.indexOf(“https”) < 0) {
url = url.replace(“http:”, “https:”); window.location.replace(url);
}</script>
标签: ssl证书教程
上一篇:如果服务器换了IP 地址,原来的 SSL证书还能用吗? – HTTPS SSL 教程
下一篇:为什么要使用无密码保护的私钥? – HTTPS SSL 教程