Welcome Guest, Not a member yet? Register   Sign In
User link - route all request that generates 404
#1

Hello,

I want to create user profiles with the following link structure: site.tld/username.
The problem is that if I use: $routes->add('(:any)', 'Profile::userbyname/$1') , it will also redirect valid controllers (ex: login, admin etc).

How can I do this redirect correctly?

Thanks!
Reply


Messages In This Thread
User link - route all request that generates 404 - by mirel.popescu - 06-10-2019, 12:40 AM



Theme © iAndrew 2016 - Forum software by © MyBB