Wordpress를 내 통합에 문제가 있고 Whmcs가 "클라이언트"라는 하위 폴더에 설치되어 있습니다. 모두가 자신의 .htaccess 파일이 있습니다하위 폴더에서 루트의 .htaccess를 무시하는 방법
워드 프레스 (루트) :
# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase/
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>
# END WordPress
SetEnv TZ Europe/Rome
Whmcs (/ 클라이언트) :
RewriteEngine On
# Announcements
RewriteRule ^announcements/([0-9]+)/[a-z0-9_-]+\.html$ ./announcements.php?id=$1 [L,NC]
RewriteRule ^announcements$ ./announcements.php [L,NC]
# Downloads
RewriteRule ^downloads/([0-9]+)/([^/]*)$ ./downloads.php?action=displaycat&catid=$1 [L,NC]
RewriteRule ^downloads$ ./downloads.php [L,NC]
# Knowledgebase
RewriteRule ^knowledgebase/([0-9]+)/[a-z0-9_-]+\.html$ ./knowledgebase.php?action=displayarticle&id=$1 [L,NC]
RewriteRule ^knowledgebase/([0-9]+)/([^/]*)$ ./knowledgebase.php?action=displaycat&catid=$1 [L,NC]
RewriteRule ^knowledgebase$ ./knowledgebase.php [L,NC]
그리고 활성에 대한 설정이 Whmcs에서 친숙한 URL을,하지만 내가 그것을 활성화 할 때 그것이 내게 ineherite .htaccess와 같은 사실을 찾지 못했을 때, 사실 나는 wordpress (루트에 설치됨)의 htaccess 하위 폴더에서 친절한 URL을 전자 메일로 보냅니다.
은 내가 루트에서 하위 폴더를 제외 할 다른 사람의 게시물에 여기 많은 코드를 시도하지만, 작품, 나는이 사람 how to ignore the .htaccess file from a parent directory 의 동일한 문제라고 생각하지 않습니다하지만 그 사람도까지 해결책을 찾을 수 없습니다 지금.
도움을 주셔서 감사합니다. WWW의 URL을 재 쓰기와
index.php를 제거하기위한