How to make a URL like this |
[eluser]robert.dejesica[/eluser]
Hi guys I want my url to become look like this domainname.com/20202.html Where 20202 is the item ID. Any help appreciated.
[eluser]Colin Williams[/eluser]
Code: $route['(:num)'] = "controller/function/$1"; That very example and others at http://ellislab.com/codeigniter/user-gui...uting.html
[eluser]metaltapimenye[/eluser]
..as addition from Mr Colin Williams suggestion.. Code: //application/config/config.php ..so when you use URL Helper.. Code: echo anchor('20202', 'product title');
|
Welcome Guest, Not a member yet? Register Sign In |