Quantcast
Channel: Yii Framework Forum
Viewing all articles
Browse latest Browse all 18717

Hide controller in the URL

$
0
0
Hi !

Is there a way to hide ONE controller in the URL ?

I have several controllers, for example :

http://website/controller1/action/args
http://website/controller2/action/args
http://website/controller3/action/args
...


I would like to use http://website/args instead of http://website/controller1/action/args
And I would like to be able to use the other controllers http://website/controller2/action/args & http://website/controller3/action/args

I have tried several things and looked for it in the forum without any success.

Thank you !

Viewing all articles
Browse latest Browse all 18717

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>