Welcome Guest, Not a member yet? Register   Sign In
How can i write SEO URL Rewriting like www.abc.com/test_product/test_category/1
#1

[eluser]wdwswapna[/eluser]
Hello everybody.
I have an app that have URL like this:
www.abc.com/test_product/test_category/test_sub_category/1
how can i write dynamic controller name.
#2

[eluser]dmorin[/eluser]
There are a few ways to do it, but the easiest may be to just have the last route in your routes config send all requests to controller you designate. That controller would get all requests that didn't match an existing route, so it could decide whether to show a product/category page or if it should show a 404.




Theme © iAndrew 2016 - Forum software by © MyBB