Replace parameter name in routes

Hello everyone.

I am newbie in Yii framework. Please help me solve this problem

I have a url:


So I want to rediect to


How can I replace ?afId by $item_id ?


The first url:


is a Yii page?

What is webserver?

It’s not Yii page. It is Jsp page with struts1

url second is Yii page

So you have to handle redirect in Jsp container server.