Welcome Guest, Not a member yet? Register   Sign In
Routes question
#6

[eluser]Aken[/eluser]
The way routes work is that as soon as it finds a matching route, it will send it, regardless of what is after. So with that set up, your URLs will never route to webshop/pages/$1.

You need to differentiate between those two somehow. Like any "produse" calls will need to have something in the route to specify that it's a produse call.
Code:
$routes['produse/(:any)'] = 'webshop/produse/$1';
$routes['(:any)'] = 'webshop/pages/$1';


Messages In This Thread
Routes question - by El Forum - 07-18-2011, 12:44 AM
Routes question - by El Forum - 07-18-2011, 12:54 AM
Routes question - by El Forum - 07-18-2011, 01:13 AM
Routes question - by El Forum - 07-18-2011, 10:40 AM
Routes question - by El Forum - 08-04-2011, 01:01 AM
Routes question - by El Forum - 08-04-2011, 02:37 AM
Routes question - by El Forum - 08-04-2011, 03:02 AM



Theme © iAndrew 2016 - Forum software by © MyBB