which file is config to those url links?
http://www.yiiframework.com/doc-2.0/guide-apps-advanced.html
Creating links from backend to frontend
return [
'components' => [
'urlManager' => [
// here is your normal backend url manager config
],
'urlManagerFrontend' => [
// here is your frontend URL manager config
],
],
];