User link - route all request that generates 404 |
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! |
Messages In This Thread |
User link - route all request that generates 404 - by mirel.popescu - 06-10-2019, 12:40 AM
RE: User link - route all request that generates 404 - by Matleyx - 06-10-2019, 01:38 AM
RE: User link - route all request that generates 404 - by mirel.popescu - 06-15-2019, 02:17 PM
RE: User link - route all request that generates 404 - by InsiteFX - 06-10-2019, 03:33 AM
RE: User link - route all request that generates 404 - by InsiteFX - 06-16-2019, 04:52 AM
|