I am trying to make a url with regex in YII1.
I want to create the url for 'pagename/username'. 

I tried like this : 

```
'<pagename:([A-Za-z0-9-A-zÀ-ú]+)>/<i:w+>' => 'site/Profile',

```

but it is not working. Page is just reloading on itself 

I want to show the new page when url become like 'pagename/username'.