[SOLVED] Routes - Regex help |
[eluser]Unknown[/eluser]
Hello, i've been dealing with basic regex, but now i wish to exclude some stuff and it seems that is really tricky. I have this controllers (just example) domain.com/web/view domain.com/user/register now, i wish to create a regex for the routes to exclude from the route /web , /user , but to have a $1 to route domain.com/web/view/$1 , basically www.domain.com/ANYTHING must be routed to /web/view/ANYTHING, but excluding my useful controllers I've been trying some regex generators on the web with no luck, any help appreciated |
Welcome Guest, Not a member yet? Register Sign In |