Problems With Url Manager

Hi!

I have this website --> http://ho33.com. It has the following URL Manager:




'urlManager'=>array(

     'urlFormat'=>'path',

     'showScriptName'=>false,

          'rules'=>array(                                  

                '<lang:\w+>-<action:\w+>'=> 'site/<action>',

          ),

),



The site works well, but please notice this hyphen: <lang:\w+>[size=“7”]-[/size]<action:\w+>. I would like to put a slash (<lang:\w+>/<action:\w+>) instead of the hyphen but if I do so the images of the site don’t display.

Anyone knows why putting a slash the images of the site don’t display?

Thanks

Add base element to the main layout:


<base href="<?php echo Yii::app()->getBaseUrl(true) ?>">

or use absolute URL path in src:


<img src="/images/filename.jpg" alt="">

or, to make it fully portable:


<img src="<?php echo Yii::app()->baseUrl ?>/images/filename.jpg" alt="">

thank you, it worked!