How To Hide Id From Url

I tried many times and at the end i got no option but to make new thread…

model:

public function getUrl() {

    $name = str_replace("/", "", $this->title);


    $name = str_replace("-", "", $name);


    $name = str_replace(" ", "-", $name);


    return Yii::app()->createUrl('controller/view', array(


                'id' => $this->id,


                'title' => $name,


    ));


}

cofig: url manager

‘controller/<title:.*?>/<id:\d+>’ => array(‘controller/view’, ‘urlSuffix’ => ‘’),

here is the url.

localhost/wyz/controller/title/47

now how can i hide the id?