codeigniter routes with parameters

Today, We want to share with you codeigniter routes optional parameter.In this post we will show you codeigniter route optional parameter, hear for codeigniter 4 routes we will give you demo and example for implement.In this post, we will learn about Codeigniter 3 Get All Routes Using Controller with an example.

Codeigniter controllers subfolders

Codeigniter controllers subfolders Example



nice clean URL of:

// sub directories


Understand your route


$route['account/manage/(:num)/(:any)']  = "account/manage/index/$1/$2";

manage.php controller

I hope you get an idea about dynamic routing in codeigniter.
I would like to have feedback on my blog.
Your valuable feedback, question, or comments about this article are always welcome.
If you enjoyed and liked this post, don’t forget to share.

Leave a Comment