Welcome Guest, Not a member yet? Register   Sign In
conditional routing (shorten url)
#3

Because it's config file, it doesn't have access to database.

While it might feel a bit "hacky", you could set up 404 controller, and if route fails, you could still catch it and deal with it, if it's a short hand for existing page.
Reply


Messages In This Thread
conditional routing (shorten url) - by acebay - 01-26-2019, 11:22 PM
RE: conditional routing (shorten url) - by Pertti - 01-27-2019, 12:49 PM
RE: conditional routing (shorten url) - by acebay - 01-27-2019, 02:11 PM
RE: conditional routing (shorten url) - by acebay - 01-27-2019, 02:00 PM
RE: conditional routing (shorten url) - by acebay - 01-28-2019, 02:10 PM
RE: conditional routing (shorten url) - by acebay - 01-28-2019, 05:56 PM



Theme © iAndrew 2016 - Forum software by © MyBB