![]() |
Dynamic routing - 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: Dynamic routing (/showthread.php?tid=45976) |
Dynamic routing - El Forum - 10-13-2011 [eluser]Unknown[/eluser] Hello, I have, let say, a newby problem. let's say I have few controllers: content, contact, articles, shop and my url have to look like this: domain.tld/name-of-static-page, domain.tld/contact, domain.tld/shop/sony/product-name or domain.tld/title-of-blog-article ... except writing rules in routes.php for any controller, is there any other way? something like forwarding ... or having a front controller which handles all request and passes them to designated controller? (if this can be done, how can I do it?!) thank you for any suggestion, Silviu |