[eluser]Unknown[/eluser]
Hi.
I want to change the following url
example.com/board/view/$board_id
into
example.com/view/$board_id, or
example.com/$board_id
The thing is that I cannot change the three string urls into two or one string urls.
For example,
$route['view/:any']="board/view/$1";
is not working.
Whatever I put in, unless the number of strings after the url is same to
before the change, the routing is not working properly.
Does anyone know why? and is there any ways that I can change it from route.php?