I need to add the index controller name and the index action name in the url for example:
application.local will display the application.local/index/index (index controller, index action) In the url I need to display the full path: application.local/index/index
and
application.local/pages will display application.local/pages/index -I need to display the full path in the url: application.local/pages/index
It's like a 301 redirect, but I want to know if there is a possibility to do this form the framework and not form htaccess