Codeigniter Default Controller

Codeigniter default Controller : Codeigniter default controller is defined in routs.php which means your controller will be accessed when someone access your website.

Codeigniter default controller Example

Go to config.php/routs.php and add default controller there.

For example if i access :

It will automatically call

User Ans/Comments

📖 Read More