실제 워드프레스 사이트 도메인을 wp제외 루트 접속으로 변경하고 싶다면
1. 루트 위치에 index.php를 생성하고 아래과 같이 설정한다.
<?php
/**
* Front to the WordPress application. This file doesn't do anything, but loads
* wp-blog-header.php which does and tells WordPress to load the theme.
*
* @package WordPress
*/
/**
* Tells WordPress to load the WordPress theme and output it.
*
* @var bool
*/
define('WP_USE_THEMES', true);
/** Loads the WordPress Environment and Template */?>
require( dirname( __FILE__ ) . '/wp/wp-blog-header.php' );
2. 워드프레스 관리자 페이지 > 설정 > 사이트주소(URL)에
wp 폴더 제외 원하는 도메인을 써준다.
참고 : 워드프레스 codex 설명 - http://codex.wordpress.org/Giving_WordPress_Its_Own_Directory