06-20-2012, 07:51 AM
[eluser]Rayhan[/eluser]
cool... but haven't got a clue from there...
This is what I have now....
http://www.example.com/user/profile/12 and now I want it to be http://www.example.com/12
I looked at the codeigniter guide for routing and set up new route similar to this one
$route['(:num)'] = "user/profile/$1"; - not working. This whole routing business seem very tricky to me. Can you please explain it further?
cool... but haven't got a clue from there...
This is what I have now....
http://www.example.com/user/profile/12 and now I want it to be http://www.example.com/12
I looked at the codeigniter guide for routing and set up new route similar to this one
$route['(:num)'] = "user/profile/$1"; - not working. This whole routing business seem very tricky to me. Can you please explain it further?