그누보드 도메인이전 파일위치오류
본문
웹호스팅 사용하면서 그누보드로 테마 사용해서 홈페이지 구축하고
신났다고 도메인 변경신청해버렸습니다 ㅠㅠ 그래서 변경된홈페이지가 파일위치 못찾아서
홈페이지가 다깨져나오네요
정보찾아본결과
<?
include_once"_common.php";
//구사이트도메인 http://www. 제외
$old="google.com";
//새사ㅣ트도메인 http://www. 제외
$new="naver.com";
$sql = sql_query("select * from g4_board");
while($data = sql_fetch_array($sql)){
echo"$data[bo_table]<br>";
sql_query("update g4_write_{$data[bo_table]} set wr_content=REPLACE(`wr_content`,'$old','$new')");
}
?>
이코드를 테마 index.php안에 대입하였는데 여전히 깨져나오는데
다시 홈페이지제작을 해야될까요 ㅠㅠ?
답변을 작성하시기 전에 로그인 해주세요.