CodeIgniter Forums

Full Version: htaccess and routing
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Sorry I want to ask, 

This is my url http://example.com/index.php/folder/cont...tion/1/2/3

And I want to set it as http://example.com/controller/function/1/2/3

I read the docs and the htaccess is
just remove the index, and I have searched how to solve it but
I still dont know, please help me. Thanks

*note : I have created the route
Please show the route.
(09-12-2019, 04:08 PM)dave friend Wrote: [ -> ]Please show the route.

Here my route ->
$route['folder'] = ['folder/controller'];

And I created 'folder' in application/controller then I put 'controller' in 'folder'
Please anybody?
It looks like you want to remove the index.php ... https://codeigniter.com/user_guide/gener...x-php-file