Welcome Guest, Not a member yet? Register   Sign In
Need Help With URI Routing.
#1

[eluser]navetz[/eluser]
Okay I am not sure why this isn't working. I am using a modular structure to codeigniter and it sets up my urls this way:

BASE/module/controller/function/

I want to get ride of the module part so I am setting this in my route.php config:

$route['main/(:any)'] = "/main/main/$1";

Can someone please tell me what I am doing wrong?

Update:
I have noticed I cannot even do this:
$route['cat'] = "main";
#2

[eluser]Damien K.[/eluser]
htaccess...




Theme © iAndrew 2016 - Forum software by © MyBB