Yii Seo Friendly Url With Createurl Command

Hi everyone!

I read some tutorials/examples about SEO friendly urls, but i didn’t understand how it works in YII framework.

I read some articels about createUrl and routings, but i don’t know how i can use it.

For an example

I would like to change this url






I am sorry for my English.

what i do normally I would add a new route in config.php under urlManager


and then in your view i would donwcase the name replace spaces with underbars "_" and tack on the id and use it as a link then catch it in my controller remove the text use the id as hook and pull the record from database

hope it helps