getting rid of useless URI segments - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20) +--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forumdisplay.php?fid=23) +--- Thread: getting rid of useless URI segments (/showthread.php?tid=22857) |
getting rid of useless URI segments - El Forum - 09-22-2009 [eluser]timaksu[/eluser] hi guys. right now i have a class called category, and the "index" function of it displays posts from category with the ID in the 3rd segment of the URI. so i was looking to create something like this: http://www.url.com/category/1 but to access it, i need to do this: http://www.url.com/index.php/category/index/1 those indexs arent very nice... any way i can get rid of them? getting rid of useless URI segments - El Forum - 09-22-2009 [eluser]Phil Sturgeon[/eluser] You can do this using URI Routing. |