Welcome Guest, Not a member yet? Register   Sign In
Route segment starting with ?
#1

[eluser]Dimitar[/eluser]
Hey guys,

I need help regarding following url:

Code:
http://www.domain.com/segment/?param=val&param=val&param=val

I'm not able to change the url, but need a way to route it to "any" controller and function. Tried with:

Code:
$route['segment/(:any)'] = '';

It does not work though. Any ideas?
#2

[eluser]Mangetsu[/eluser]
Hmm, idea behind routing is to know where you want to go.. my bet would be to create one landing controller and then parse params and decide where do you want to go next




Theme © iAndrew 2016 - Forum software by © MyBB