If you intall wordpress in a folder (for example ‘wp’ folder here),
your site adress looks like ‘yourdomain.com/wp’.
But if you want your site adress just ‘yourdomain.com’.
예를 들어 wp라는 폴더를 만들고 폴더에 워드프레스를 설치하면,
yourdomain.com/wp 로 접속해야하는데 그냥 yourdomain.com 로 하고 싶으면.
1. open ‘index.php’ in wp folder.
add ‘/wp’ , so make like this:

1
 require('./wp/wp-blog-header.php');

2. save index.php file in root directory.
(Delete index.php file in wp directory)
3. move .htaccess file to root directory.
4. Go to Setting/ General
Wodpress Adress – http://yourdomain.com/wp
Site Adress – http://yourdomain.com
5. You can login at http://yourdomain.com/wp/wp-admin
Done.
1. wp 폴더에 있는 index.php 파일을 열어

1
 require('./wp-blog-header.php');

를 아래와 같이 wp/를 추가하여 수정

1
 require('./wp/wp-blog-header.php');

2. 루트에 index.php파일을 저장하고,
wp폴더의 index.php는 삭제
3. 로그인은 www.yourdomain.com/wp/wp-admin으로 하지만
워드프레스가 실제 루트에 있는 것처럼 콘트롤.
4. wp 폴더에 있는 .htaccess를 루트로 옮긴다.
5. 설정 / 일반에서
wodpress Adress는 http://yourdomain.com/wp 로 그대로 두고요.
site Adress는 http://yourdomain.com/wp 에서 http://yourdomain.com
로 수정.