[eluser]stoefln[/eluser]
i always had my routing config like this:
$route['users/([a-zA-Z0-9]+)'] = "users/profile/$1";
now i like to get rid of the "users" cause this is the main controller and i would like to get the urls as short as possible.
but:
$route['([a-zA-Z0-9]+)'] = "profile/$1";
<b>edit (sorry made a mistake)</b>
$route['([a-zA-Z0-9]+)'] = "users/profile/$1";
<b>edit end</b>
does not work, i get to the wrong profile when i enter the url without "users/"
any ideas?