Yii2 Home Breadcrumbs incorrect -


for reason home url breadcrumbs in website incorrect : e.g. breadcrumbs home / biometries when click on home - (with 404 error) basic/web/index.phpindex.php

how can correct home url leave off index.php? i've searched app , yii2 site no thanks

i found error, on main layout page

<?=     breadcrumbs::widget([         'homelink' => ['label' => 'home',         'url' => yii::$app->gethomeurl() . 'index.php?r=dashboard/index'],         'links' => isset($this->params['breadcrumbs']) ? $this->params['breadcrumbs'] : [],      ]); ?> 

just dropped index.php there , works fine - happens when spend hours looking bit of code making me more precise..


Comments

Popular posts from this blog

Magento/PHP - Get phones on all members in a customer group -

php - Bypass Geo Redirect for specific directories -

php - .htaccess mod_rewrite for dynamic url which has domain names -