Welcome Guest, Not a member yet? Register   Sign In
1 Level URL Question
#2

[eluser]WanWizard[/eluser]
You can do that with routes, but it would require an awful lot of routes, created manually for every category and brand.

Maybe it's better to use a 'detection controller', that checks if the first segment is a category or a brand, and redirect to the correct controller.
If you use an HMVC solution, you could opt to call the correct controller directly instead of redirecting, which will preserve the URL, but is a 3rd-party solution.


Messages In This Thread
1 Level URL Question - by El Forum - 03-30-2011, 09:30 PM
1 Level URL Question - by El Forum - 03-31-2011, 01:00 AM



Theme © iAndrew 2016 - Forum software by © MyBB