help with routing

Hi guys!

I want to route -> which i can do with the routing below.
$route[':any'] = "profile/view";

Now how do route ->
or ->

Please help.

Thanks in advance.

is this not possible?

Since you have defined a 'catch-all' route, you need to add routes for any controller that you don't want to catch:
$route[’account(.*)’] = “account$1”;
$route[’:any’] = “profile/view”;

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  

  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2019 MyBB Group.