Welcome Guest, Not a member yet? Register   Sign In
htaccess and routing
#1

(This post was last modified: 09-12-2019, 08:04 PM by mjamilasfihani.)

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
Reply
#2

Please show the route.
Reply
#3

(This post was last modified: 09-12-2019, 04:33 PM by mjamilasfihani.)

(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'
Reply
#4

Please anybody?
Reply
#5

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




Theme © iAndrew 2016 - Forum software by © MyBB