Hi,
I have controller with id project and we are accessing projects by
www.example.com/project/index/id/{id}
.I don’t want to show “project/index/id” in url instead of that url should look like
www.example.com/mysite/{id}
.
I have tried by putting following rules in url manager.
mysite/<id:\d+>' =>'project/index/id/<id:\d+>',
// 'project/index/<id:\d+>' => 'mysite/<id:\d+>',
Can anyone please guide me, how to do it ?