시작페이지 index를 어떻게 바꾸나요? 정보
시작페이지 index를 어떻게 바꾸나요?본문
보통홈페이지 주소를 치면 자동적으로 index.html(php)로 가는 걸로 알고 있습니다.
근데 저는 시작페이지가 http://www.funhanja.com/board/bbs/board.php?bo_table=test
저렇게 되어 있습니다.
http://www.funhanja.com/ 이라고 검색할 때
http://www.funhanja.com/index.html이 아니라
http://www.funhanja.com/board/bbs/board.php?bo_table=test로 가려면 어떻게 해야하나요?
시작페이지가 html이라면 이름만 index로 바꿔주면 되는데 게시물 형식이라 난감하네요.
근데 저는 시작페이지가 http://www.funhanja.com/board/bbs/board.php?bo_table=test
저렇게 되어 있습니다.
http://www.funhanja.com/ 이라고 검색할 때
http://www.funhanja.com/index.html이 아니라
http://www.funhanja.com/board/bbs/board.php?bo_table=test로 가려면 어떻게 해야하나요?
시작페이지가 html이라면 이름만 index로 바꿔주면 되는데 게시물 형식이라 난감하네요.
댓글 전체

index.php 에서 define("_INDEX_",true); 바로밑에
goto_url("http://www.funhanja.com/board/bbs/board.php?bo_table=test");
goto_url("http://www.funhanja.com/board/bbs/board.php?bo_table=test");
index.php 내용을 모두 지우고~
<?
define("_INDEX_",true);
goto_url("http://www.funhanja.com/board/bbs/board.php?bo_table=test");
?>
이렇게 만들었는데
Fatal error: Call to undefined function goto_url() in /home/obag47/www/index.php on line 4
에러 메세지가 뜨네용~
<?
define("_INDEX_",true);
goto_url("http://www.funhanja.com/board/bbs/board.php?bo_table=test");
?>
이렇게 만들었는데
Fatal error: Call to undefined function goto_url() in /home/obag47/www/index.php on line 4
에러 메세지가 뜨네용~

define 위에 include_once("./_common.php"); 추가!
ㅎㅎ 에러 더 뜹니다.
ftp를 접속해보면 index.php가 제일 먼저 있고 그누보드 폴더가 있습니다. 그누보드 안에 있는 index를 수정하는 게 아니라 ftp를 접속했을 때 처음 노출되는 index.php를 바꾸려고 합니당~
들어가보시면 이런 에러가 뜹니다.
http://www.obag.co.kr/
ftp를 접속해보면 index.php가 제일 먼저 있고 그누보드 폴더가 있습니다. 그누보드 안에 있는 index를 수정하는 게 아니라 ftp를 접속했을 때 처음 노출되는 index.php를 바꾸려고 합니당~
들어가보시면 이런 에러가 뜹니다.
http://www.obag.co.kr/

아 그누의 index 수정이 아니였군요..
그럼 html 바로밑 index 최상단에
<script language="JavaScript">
document.location="http://www.funhanja.com/board/bbs/board.php?bo_table=test";
</script>
요래해보셔요 ㅎㅎ
그럼 html 바로밑 index 최상단에
<script language="JavaScript">
document.location="http://www.funhanja.com/board/bbs/board.php?bo_table=test";
</script>
요래해보셔요 ㅎㅎ
넹 감사합니다. 미시쩡님^^~
해결했습니다.
index.php 파일의 내용을 다 지우고 저렇게 넣으니 되네용~
<?
echo "<script>
window.location.replace('http://www.funhanja.com/board/bbs/board.php?bo_table=test');
</script>";
?>
해결했습니다.
index.php 파일의 내용을 다 지우고 저렇게 넣으니 되네용~
<?
echo "<script>
window.location.replace('http://www.funhanja.com/board/bbs/board.php?bo_table=test');
</script>";
?>

아 해결하셨군요 ㅎㅎ 축하드려요 ~ㅅ~