url controller item id after base url |
Dear all,
Can I have below url path structure in index controller?? www.xxxxxx.com/123 then it will show the item id=123 profile web page. Is it possible?? (08-25-2015, 11:58 PM)rchiu5hk Wrote: Dear all, You can add a custom route at bottom of the config/routes.php file PHP Code: $route['(:num)'] = 'controller_name/profile/$1'; Read more http://www.codeigniter.com/user_guide/ge...uting.html |
Welcome Guest, Not a member yet? Register Sign In |