Currently my URLs look like this
http://www.domain12.co.un/register/user/A123
I want to remove /register/user/ from URL So, It should look something like this.
http://www.domain12.co.un/A123
Parameter A123 is not constant in above URL, It may change B123, G123, 3FG567... etc.
I gone through this but getting 404 error. I have added below code in my routes.php but it's not redirecting to other page.
$route['(:any)'] = "register/user/$1";