홈페이지 폴더이동 ????? 정보
홈페이지 폴더이동 ?????본문
그누보드4를 gboard4 폴더를 만들어 서버에 설치 했습니다.
그럼 연결할땐
http://www.aaaa.co.kr/gboard4/
와같이 써야 하네요... ㅡ.ㅡ
폴더는 그냥 놔두구
http://www.aaaa.co.kr/
와같이 쓰면
http://www.aaaa.co.kr/gboard4/
로 자동으로 가게 하려면 어떻게 해야 할까요?
아직 초보자라 도움부탁드립니다.
그럼 연결할땐
http://www.aaaa.co.kr/gboard4/
와같이 써야 하네요... ㅡ.ㅡ
폴더는 그냥 놔두구
http://www.aaaa.co.kr/
와같이 쓰면
http://www.aaaa.co.kr/gboard4/
로 자동으로 가게 하려면 어떻게 해야 할까요?
아직 초보자라 도움부탁드립니다.
댓글 전체
루트에 index.php을 하나 만드신 다음 아래 스크립을 넣고 저장을 해보세요 (자바스크립)
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=euc-kr" />
<title></title>
<script type="text/javascript">
var c=0; //시간을 설정하여 주세요
var t;
function timedCount() {
document.title='';
c=c-1;
t=setTimeout("timedCount()",1000);
if (c==-1) {
clearTimeout(t);
document.title='Redirecting ...';
self.location="./gboard4/"; //이동할 주소를 입력하여 주세요
}
}
window.onload=timedCount;
</script>
</head>
<body></body>
</html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=euc-kr" />
<title></title>
<script type="text/javascript">
var c=0; //시간을 설정하여 주세요
var t;
function timedCount() {
document.title='';
c=c-1;
t=setTimeout("timedCount()",1000);
if (c==-1) {
clearTimeout(t);
document.title='Redirecting ...';
self.location="./gboard4/"; //이동할 주소를 입력하여 주세요
}
}
window.onload=timedCount;
</script>
</head>
<body></body>
</html>
웹호스팅에 그누보드 하나라면 설치방법을 보시면 님이 원하는 내용이 있는데요
그냥 그누보드 폴드안에 있는 폴드와 파일들을 모조리 root폴드로 이동을 시키면 끝입니다.
그냥 그누보드 폴드안에 있는 폴드와 파일들을 모조리 root폴드로 이동을 시키면 끝입니다.