홈페이지 주소 고정 및 XE가 홈페이지 기본폴더에 설치되지 않고 xe폴더에 설치되었을 때 연결하는 방법이다.

물론 포워딩으로 연결하여도 된다.

http://도메인/xe/ 로 접속해야 하던 주소를 http://도메인 만으로 접속하게 된다.

또한 브라우저 상단에 도메인주소가 변하지 않고 그대로 고정되어 남아있게 된다.

아래의 청색부분의 내용을 작성하여 다른 이름으로 저장하기에서 파일 이름-index.php 파일 형식-*.* 인코딩-utf-8 로 저장한다.

ftp로 index.php를 웹의 기본 폴더에 업로드 한다.

 

주의

홈페이지 타이틀은 자신의 홈페이지 명을 적으면 된다.

/xe/ 부분은 XE가 설치된 폴더 경로와 폴더이름이다.

index.php
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html lang="{Context::getLangType()}" xmlns="http://www.w3.org/1999/xhtml">
 <head>
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  <meta name="keywords" content="">
  <meta name="description" content="">
  <meta name="author" content="">
  <title>홈페이지 타이틀</title>
 </head>
 <frameset rows="0%,100%" cols="*" border="0" framespacing="0">
 <frame src="" scrolling="NO" frameborder="NO" name="no">
 <frame src="/xe/index.php" frameborder="NO" name="main" marginwidth="0" marginheight="0" scrolling="auto">
 </frameset>
 <noframes>
 </noframes>
 <body>
 </body>
</html>


 

유사한 TIP

홈페이지 자동으로 이동하기

현재평점 8 (평가자 수 : 5)

추천 : 다크이브,

profile
여기에서 행복한 시간 되십시오.