필자는 Laravel 설치 및 워드 프레스를 나란히 설치했습니다..htaccess 다른 index.php에 폴더를 다시 작성
<IfModule mod_rewrite.c>
<IfModule mod_negotiation.c>
Options -MultiViews
</IfModule>
RewriteEngine On
# Redirect Trailing Slashes...
RewriteRule ^(.*)/$ /$1 [L,R=301]
# Handle Front Controller...
RewriteCond %{REQUEST_URI} !^/cms
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule^index.php [L]
RewriteCond %{REQUEST_URI} ^/cms
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule^cms.php [L]
</IfModule>
을 그들이 다음 내가 필요/CMS /로 시작하지 않는 내가 cms.php를 통해 전송 될 index.php를 통해 라우팅 모든 요청을 가질 필요가 다음과 같이 루트에 가 나는 htaccess로이 그것은 Wordpress 용 오래된 index.php입니다.
나는 위의 코드 트릭을 할 것이라고 생각하지만 잘못된 것 같습니다 :)확실하지 내가 잘못
감사
내 문제가 될 것으로 보인다
을, 규칙은 내 문제가 될 것으로 보인다 –
잘 보면 : 내가 어디서 그런 일이 일어나게 할까? – Jjames