2016-06-15 8 views
0

그래서 주 페이지의 루트로 하위 폴더를 사용하는 웹 서버에 WP 사이트를 설정하고 작동하도록 설정할 수 없습니다. 진정한 루트는 잠겨 있으므로 액세스 할 수 없습니다.루트가 하위 폴더로 리디렉션 될 때 WordPress 자체 디렉토리 제공

원래의 .htaccess & index.html 파일은 ftp://ftp.example//web/ 에 있으며 나는 ftp://ftp.example//web/wp 내 WP를 설치하려는된다.

워드 프레스 주소 (URL) : http://www.example.com/wp

사이트 주소 (URL) : http://www.example.com

그럼 난 복사 index.php를

우선 는에 WP에에게 일반 설정 변경 및 htaccess to ftp://einstein.netureza.pt//web/index.php에서 변경된 17 행 to require(dirname(__FILE__) . 'wp/wp-blog-header.php');은 wp-admin의 permalinks를 업데이트했습니다.

htaccess로 지금은 말합니다 : http://www.example.com/wp 작품을 방문, 그러나

The strategy4change.eu page isn’t working 

strategy4change.eu is currently unable to handle this request. 
HTTP ERROR 500 

: 내 URL을 http://www.example.com에 갈 때

## Default .htaccess file 

# BEGIN WordPress 
<IfModule mod_rewrite.c> 
RewriteEngine On 
RewriteRule ^index\.php$ - [L] 
RewriteCond %{REQUEST_FILENAME} !-f 
RewriteCond %{REQUEST_FILENAME} !-d 
RewriteRule . index.php [L] 
</IfModule> 

# END WordPress 

난 그냥이 오류가 발생합니다.

답변

2

나는 평판이 부족합니다. 하지만이 유효한 대답 희망 :

당신은 슬래시 놓친 :

require(__DIR__ . '/wp/wp-blog-header.php'); 
+0

오, 그건 그냥 고전의) 건배. –