Hi,
I am using Yii2 basic. I am using pretty url for the same. I have wriiten rules in urlManager in web.php for using application using pretty url. When I clicked on dashboard I can see it. Now I click on Employee I see it. Now when I click on create of employee I can see it. But from this page if I go to dashboard then Not Found(#404) error is displayed. Following is the urlManager
'urlManager' => [
'enablePrettyUrl' => true,
//'showScriptName' => false,
'rules' => [
'dashboard' => 'dashboard/index',
'church'=>'church/index',
'church/dashboard'=>'dashboard/index',
'church/church'=>'church/index',
'courses'=>'courses/index',
'district'=>'district/index',
'taluka'=>'taluka/index',
'village'=>'village/index',
'location'=>'location/index',
'area'=>'area/index',
'auth-assignment'=>'auth-assignment/index',
'churchassignment'=>'churchassignment/index',
'employee'=>'employee/index',
'employeetraining'=>'employeetraining/index',
'groupdetails'=>'groupdetails/index',
'groupsavingdetails'=>'groupsavingdetails/index',
'regiondata'=>'regiondata/index',
'persondata'=>'persondata/index',
'pastor'=>'pastor/index',
'members'=>'members/index',
'offering'=>'offering/index',
'activities'=>'activities/index',
'dailytaskreport'=>'dailytaskreport/index',
'weeklymeetingreport'=>'weeklymeetingreport/index',
],
],