Rules To route to a default module


I have 2 modules: frontend and backend, nothing else.

I want to use frontend as a default module,without having to show it in the URL.

For example, I want http://myapp/search/index to route to /frontend/search/index

Thanks a lot !


I think you should utilize CUrlManager application component.

That’s what I use. The rules I talk about are the rules of CUrlManager.

Could you please provide you current URL rules ?

I have solved my problem with the 2 last rules.


				// Gii