售前咨询
技术支持
渠道合作

iis6所有跳转代码 – HTTPS SSL 教程

<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证书

提交成功!

咨询客服