![]() |
Basic Route Question - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20) +--- Forum: Archived General Discussion (https://forum.codeigniter.com/forumdisplay.php?fid=21) +--- Thread: Basic Route Question (/showthread.php?tid=50144) |
Basic Route Question - El Forum - 03-15-2012 [eluser]Matalina[/eluser] I'm sure this has been asked. I've not used routes before as I didn't need to have real "pretty" urls for the stuff on the intranet here at work. But I'm working on a project that is not and was thinking of working on them. I'd like to have http://mysite.com/somepage routed to site/page/somepage however if I have a controller client/index or auth/profile will these pages return a 404? Basic Route Question - El Forum - 03-15-2012 [eluser]CroNiX[/eluser] You can exclude those specific controllers in the regex or create additional routes for them just remapping them back to their original controller/methods. Basic Route Question - El Forum - 03-16-2012 [eluser]Matalina[/eluser] thanks |