Hi,
Is it possible to achieve Url like this site-name.com/login?
I don’t want to have controller name before ‘logn’ like in default yii webapp - site-name.com/site/login.
Can this be achieved?
Hi,
Is it possible to achieve Url like this site-name.com/login?
I don’t want to have controller name before ‘logn’ like in default yii webapp - site-name.com/site/login.
Can this be achieved?
use urlManager rules (in config file) to map anything you want to specific controller/actions:
‘login’ => ‘site/login’
Thanks