1
를 재 작성 URL이 내 경로는 다음과 같이 선언합니다. 경로는 URL이 [domain]/accounts/profile 일 때 제대로 작동하며 [domain]/profile로 올바르게 다시 작성됩니다.고결 경로와
하지만 $ html-> url (array ('controller'=> 'accounts', 'action'=> 'profile', $ username)을 사용하여 링크를 만들면 url 쓰기는 [domain ]/accounts/profile/: username뿐만 아니라 [domain]/: username.
어떻게 [domain]/: username으로 할 수 있습니까?