Welcome Guest, Not a member yet? Register   Sign In
Basic Route Question
#1

[eluser]Matalina[/eluser]
I'm sure this has been asked. I've not used routes before as I didn't need to have real "pretty" urls for the stuff on the intranet here at work. But I'm working on a project that is not and was thinking of working on them.

I'd like to have http://mysite.com/somepage routed to site/page/somepage

however if I have a controller client/index or auth/profile

will these pages return a 404?
#2

[eluser]CroNiX[/eluser]
You can exclude those specific controllers in the regex or create additional routes for them just remapping them back to their original controller/methods.
#3

[eluser]Matalina[/eluser]
thanks




Theme © iAndrew 2016 - Forum software by © MyBB