skip to Main Content

We are developing an eCommerce store using CodeIgniter framework.

We need category management module, is it possible? And I have one query example below:

This is default URL, we can update this URL like

Is it possible using CodeIgniter framework or MVC in PHP?



  1. You can use this route in your /application/config/routes.php file

    $route['jewelry/(.*)'] = 'products/jewelry/$1';

    So, your final url will be jewelry/ring with product controller class and jewelry function with parameter ring called.

    Login or Signup to reply.
  2. Yes,
    codeigniter provide url routing url routing for codeigniter 3.x and url routing for codeigniter 2.x
    Both are almost same.

    You need something like this

    $route['jewelry/ring'] = 'products/ring-for-man';
    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top