doubts with linkbutton and friendly urls


In my project I’ve done the friendly urls and I’ve hidden the index.php and all works fine!, but in the linkbuttons the urls aren’t friendly url ???

Why? How Can I fix this?


Did you add in the configuration:



configuration? … in config/main.php?


'urlManager' => array(

            'urlFormat' => 'path',

            'rules' => array(

                '<controller:\w+>/<action:\w+>' => '<controller>/<action>',

                //arregla el problema q desaparece el filter de la grilla despues de ir de pag en pag

                '<module:\w+>/<controller:\w+>/<action:\w+>' => '<module>/<controller>/<action>',


            'showScriptName' => false,


I did it before, but the result is the same :(