• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
htaccess and routing

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
Hi! I am Jamil

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'
Hi! I am Jamil

Please anybody?
Hi! I am Jamil

It looks like you want to remove the index.php ... https://codeigniter.com/user_guide/gener...x-php-file

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  

  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2020 MyBB Group.