Update Everything After Using Hostname Parameter

Hello guys. I am using hostname parameter like this


www.example.com/dictionary_title/words/admin

As you might guess there are a lot of urls, created by Gii that I have to change. Those are breadcrumbs, menus and all update, delete, view buttons on words/admin page.

Is there way somehow to do the trick easily without changing a lot of things and messing up the default code? So that instead of


www.example.com/words/

automatically became


www.example.com/dictionary_title/words/

Or if it is not, how can I change manually those buttons urls that are on admin page, for each row? I mean update, delete, view buttons for each record.