CodeIgniter Forums
Dynamic routing - Printable Version

+- CodeIgniter Forums (
+-- Forum: Archived Discussions (
+--- Forum: Archived Development & Programming (
+--- Thread: Dynamic routing (/showthread.php?tid=45976)

Dynamic routing - El Forum - 10-13-2011


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,