주소 고정 하고 주소창에 도메인 주소 입력시 https로 자동 변환 하는 소스 > 그누보드5 팁자료실

그누보드5 팁자료실

주소 고정 하고 주소창에 도메인 주소 입력시 https로 자동 변환 하는 소스 정보

주소 고정 하고 주소창에 도메인 주소 입력시 https로 자동 변환 하는 소스

본문

별거 아니지만  저 처럼 찾고 있는 분이 계실까봐 공유 합니다. 

----------------------------------------------------------------------------------- 

주소 고정 하고  주소창에 도메인 주소 입력시 https로 자동 변환 하는 소스

-----------------------------------------------------------------------------------------

 

 

<script language=javascript>
 
 if(location.hostname != "localhost") {
    if (window.location.protocol != "https:") {
        window.location.href = "https:" + window.location.href.substring(window.location.protocol.length);
    }

    if (document.location.protocol == 'http:') {
        document.location.href = document.location.href.replace('http:', 'https:');
    }

</script>
 
 
 

<html> 
<title>HCN상품문의는 우리HCN에서</title> 
<meta name="viewport" content="width=device-width, maximum-scale=1, initial-scale=1, user-scalable=0" /> 
<frameset rows="*" frameborder="no" border="0" framespacing="0">  
<frame src="./bbs/" name="main" scrolling="yes" marginwidth="0" marginheight="0" noresize>
<noframes>  
</frameset>  
</html>

추천
3

댓글 4개

전체 1 |RSS
그누보드5 팁자료실 내용 검색

회원로그인

(주)에스아이알소프트 / 대표:홍석명 / (06211) 서울특별시 강남구 역삼동 707-34 한신인터밸리24 서관 1404호 / E-Mail: admin@sir.kr
사업자등록번호: 217-81-36347 / 통신판매업신고번호:2014-서울강남-02098호 / 개인정보보호책임자:김민섭(minsup@sir.kr)
© SIRSOFT