Removing sub-controller folder name from URL |
[eluser]veledrom[/eluser]
Hi, I have many sub-folders under main controller folder. When I call a controller, the name of the respective sub-folder appear in URL. How can I remove the name of sub-folder from URL? Thanks <b>Examples:</b> Structure: applications/controllers/<b>admin</b>/my_controller.php Appears as: http://localhost/index.php/<b>admin</b>/my_controller Should appear as: http://localhost/index.php/my_controller Structure: applications/controllers/<b>login</b>/my_controller.php Appears as: http://localhost/index.php/<b>login</b>/my_controller Should appear as: http://localhost/index.php/my_controller Structure: applications/controllers/<b>menus</b>/my_controller.php Appears as: http://localhost/index.php/<b>menus</b>/my_controller Should appear as: http://localhost/index.php/my_controller |
Welcome Guest, Not a member yet? Register Sign In |