http://happy-home.co.kr/kh 들어가서 요양원소개와 로고를 누르면 제대로 출력이 안됩니다
http://www.happy-home.co.kr/www/kh/bbs/content.php?co_id=4th
이렇게 처음과 중간에 자동으로 www가 붙어버려요 ㅠㅠ

메뉴 설정은 이렇게 했습니다.
소스코드는 아래처럼 했구요...
추가로 뒤에 /kh 없애고 http://www.happy-homo.co.kr과 http://happy-homo.co.kr 이렇게 도메인을 설정하려면 어떻게 해야할까요? 참고로 cafe24 호스팅 사용중입니다...
<nav id="gnb">
<h2>메인메뉴</h2>
<ul id="gnb_1dul">
<li class="gnb_1dli" style="z-index:999">
<a href="<?php echo G5_URL ?>/bbs/content.php?co_id=4th" target="_self" class="gnb_1da">요양원소개</a>
<ul class="gnb_2dul">
<li class="gnb_2dli"><a href="<?php echo G5_URL ?>/bbs/content.php?co_id=4th" target="_self" class="gnb_2da">비전/운영원칙/CI/전략</a></li>
<li class="gnb_2dli"><a href="<?php echo G5_URL ?>/bbs/content.php?co_id=intro" target="_self" class="gnb_2da">인사말</a></li>
<li class="gnb_2dli"><a href="<?php echo G5_URL ?>/bbs/content.php?co_id=org" target="_self" class="gnb_2da">조직도</a></li>
<li class="gnb_2dli"><a href="<?php echo G5_URL ?>/bbs/content.php?co_id=history" target="_self" class="gnb_2da">연혁</a></li>
<li class="gnb_2dli"><a href="<?php echo G5_URL ?>/bbs/content.php?co_id=facilitie" target="_self" class="gnb_2da">시설현황</a></li>
<li class="gnb_2dli"><a href="<?php echo G5_URL ?>/bbs/content.php?co_id=map" target="_self" class="gnb_2da">오시는길</a></li>
</ul>
<li class="gnb_1dli" style="z-index:998">
<a href="<?php echo G5_URL ?>/bbs/content.php?co_id=in" target="_self" class="gnb_1da">입주안내</a>
<ul class="gnb_2dul">
<li class="gnb_2dli"><a href="<?php echo G5_URL ?>/bbs/content.php?co_id=in" target="_self" class="gnb_2da">입주안내</a></li>
</ul>
</li>
<li class="gnb_1dli" style="z-index:997">
<a href="<?php echo G5_URL ?>/bbs/content.php?co_id=yyw" target="_self" class="gnb_1da">사업소개</a>
<ul class="gnb_2dul">
<li class="gnb_2dli"><a href="<?php echo G5_URL ?>/bbs/content.php?co_id=yyw" target="_self" class="gnb_2da">요양원</a></li>
<li class="gnb_2dli"><a href="<?php echo G5_URL ?>/bbs/content.php?co_id=daycare" target="_self" class="gnb_2da">주간센터</a></li>
</ul>
</li>
<li class="gnb_1dli" style="z-index:996">
<a href="<?php echo G5_URL ?>/bbs/content.php?co_id=sponsor" target="_self" class="gnb_1da">후원안내</a>
<ul class="gnb_2dul">
<li class="gnb_2dli"><a href="<?php echo G5_URL ?>/bbs/content.php?co_id=sponsor" target="_self" class="gnb_2da">후원안내</a></li>
<li class="gnb_2dli"><a href="<?php echo G5_URL ?>/bbs/content.php?co_id=volunteer" target="_self" class="gnb_2da">자원봉사</a></li>
</ul>
</li>
<li class="gnb_1dli" style="z-index:995">
<a href="<?php echo G5_URL ?>/bbs/board.php?bo_table=notice" target="_self" class="gnb_1da">생활나눔</a>
<ul class="gnb_2dul">
<li class="gnb_2dli"><a href="<?php echo G5_URL ?>/bbs/board.php?bo_table=notice" target="_self" class="gnb_2da">공지사항</a></li>
<li class="gnb_2dli"><a href="<?php echo G5_URL ?>/bbs/board.php?bo_table=free" target="_self" class="gnb_2da">자유게시판</a></li>
<li class="gnb_2dli"><a href="<?php echo G5_URL ?>/bbs/board.php?bo_table=event" target="_self" class="gnb_2da">행사소식</a></li>
<li class="gnb_2dli"><a href="<?php echo G5_URL ?>/bbs/board.php?bo_table=gallery" target="_self" class="gnb_2da">포토갤러리</a></li>
</ul>
</li>
<li class="gnb_1dli">
<div id="allmenu">
<h3 class="menuMoreBtn"><a href="#menuMoreList" onclick="javascript:initMenu(true);" onkeypress=""><img src="<?php echo G5_THEME_IMG_URL ?>/allmenu.jpg" alt="전체메뉴" title=""></a></h3>
<div id="menuMoreList">
<div id="menuMore">
<div>
<h4>요양원소개</h4>
<ul>
<li><a href="javascript:menu(1,1);">비전/운영원칙/CI/전략</a></li>
<li><a href="javascript:menu(1,2);">인사말</a></li>
<li><a href="javascript:menu(1,3);">조직도</a></li>
<li><a href="javascript:menu(1,4);">연혁</a></li>
<li><a href="javascript:menu(1,5);">시설현황</a></li>
<li><a href="javascript:menu(1,6);">오시는길</a></li>
</ul>
</div>
<div>
<h4>입주안내</h4>
<ul>
<li><a href="javascript:menu(2,1);">입주안내</a></li>
</ul>
</div>
<div>
<h4>사업소개</h4>
<ul>
<li><a href="javascript:menu(3,1);">요양원</a></li>
<li><a href="javascript:menu(3,2);">주간센터</a></li>
</ul>
</div>
<div>
<h4>지지와격려</h4>
<ul>
<li><a href="javascript:menu(4,1);">후원안내</a></li>
<li><a href="javascript:menu(4,2);">자원봉사</a></li>
</ul>
</div>
<div>
<h4>생활나눔</h4>
<ul>
<li><a href="javascript:menu(5,1);">공지사항</a></li>
<li><a href="javascript:menu(5,2);">자유게시판</a></li>
<li><a href="javascript:menu(5,3);">행사소식</a></li>
<li><a href="javascript:menu(5,4);">포토갤러리</a></li>
</ul>
</div>
<a href="#menuMoreGroup" onclick="javascript:initMenu(false);" onkeypress=""><p class="btnClose">×</p></a>
</div>
</div>
</div>
</li>
</ul>
</nav>
답변 3개 / 댓글 2개
일단 kh 폴더의 퍼미션을 707 변경해 보시구요..
꼭! 규칙이 있는 것은 아니지만 대략 파일이나 폴더의 업로드 구조는 아래와 같습니다.
루트 폴더안에 index.php 이나 혹은 index.html 파일이 있습니다.
위에 퍼일을 기준으로.. [kn]폴더안으로 업로드 하는것이 아니라.
index 이 파일 있는 동일선상에......
[bbs]폴더
[data]폴더
[lib]폴더
[skin]폴더
[extend]폴더
[img]폴더
[theme]폴더
inde.php
head.php
head.sub
기타 등등..
이렇게 되도록 업로드하면 경로상 별 문재가 없을듯 싶네요..
주소도 짧아지고..
보니깐 cafe24 호스팅쪽에 kh 안에 그누보드 압축을 푸신것 같네요.
www/kh/그누보드
위처럼 되어 있는것 같아요.
그누보드를 kh 폴더 상위로 모두 이동시켜야 할것 같습니다.
쓰기 나름이겠지만 www.domain.com/index.php 이렇게 위치해 있는것이 좋을것 같습니다.
질문 올려주신 쪽에는 www.domain.com/kh/index.php 가 있는것 같습니다.
답변을 작성하려면 로그인이 필요합니다.