2013-05-11 3 views
0

불행히도 루트 폴더에 WordPress 설치가 있고 설치를 하위 폴더로 옮길 수 없어서 다른 디렉토리 색인을 설정하려고 시도했지만 index.php를 아직 작성하지 않았고 site.php에 링크가 있습니다. 내가 site.xx/index.php에 연결하려고 할 때 난 그냥/Wordpress htaccess 인덱스 문제

DirectoryIndex site.php 

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

# END WordPress 

답변

0

당신은 'index.php를 "이 경우 site.php하는 모든 참조를 변경해야합니다 site.xx로 전송받을. 색인에 다른 이름을 사용하는 경우. 나는 Hostgator에 작동하고 고객의 FIAR 양 :

+0

아직 아무 것도 시도하지 않았습니다. – Jon

+0

현재 htaccess에 대한 게시물이 업데이트되었습니다. 여전히 작동하지 않습니다. – Jon

0
<?php 
/* 
Plugin Name: Disable Canonical URL Redirection 
Description: Disables the "Canonical URL Redirect" features of WordPress 2.3 and above. 
Version: 1.0 
Author: Mark Jaquith 
Author URI: http://markjaquith.com/ 
*/ 

remove_filter('template_redirect', 'redirect_canonical'); 

?> 

워드 프레스의 플러그인 디렉토리에 폴더에 파일이 넣어 넣어 위해 이런 짓을했는지, 활성화하고 설정하고 있습니다.