i need hide controller name being shows in url. url www.example.xyz/page/information-technology-and-human
my route file this:
$route['page/(:any)'] = "frontend/$1"; $route['login'] = "frontend/login";
i want remove "page" in url. should this:
www.example.xyz/information-technology-and-human
how this. please me. possible that?
use this, last route defined in routes.php
file. it's important define wildcard route last route.
$route['(:any)'] = "frontend/$1";
Comments
Post a Comment