Welcome Guest, Not a member yet? Register   Sign In
Dynamic routing
#1

[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




Theme © iAndrew 2016 - Forum software by © MyBB