Solved thread

This post is marked as solved. If you think the information contained on this thread must be part of the official documentation, please contribute submitting a pull request to its repository.

Can my application start with SessionController not IndexController?

My application starts with Login page, so i assume i need SessionController more than i need IndexController.

When i rename Index to Session, phalcon is always searching for IndexController and throws an error "IndexController handler class cannot be loaded".

Is there a possibility to avoid having IndexCntroller in the app?


Yes, you can define your custom routes. Please check:


yes, you are right, i added routes file to config Dir with custom navigation rules, then added it to services and it works! Thnx.