I am not sure if I have this set up correctly and would love any help i can get.
'urlManager'=>array(
'showScriptName' => false,
'urlFormat'=>'path',
'rules'=>array(
'player/<player:\w+>' => 'site/player'
)
And i am creating my link like this -> mysite.com/player/Colin+Fletcher
echo CHtml::link($player->f_name . " " . $player->l_name, array('//site/player', 'player' => $player->f_name . ' ' . $player->l_name));
The controller.
public function actionPlayer($player)
{
print $player;
$this->render('player');
}
When i follow that link i get a 404 error.