User link - route all request that generates 404 |
(06-10-2019, 01:38 AM)Matleyx Wrote: You have modified the autoload file? No, I didn't. I don't know what "psr4" is. The code: $routes->add('profile/(:any)', 'Profile::userbyname/$1') works , but then the link will be "site.tld/profile/username", not site.tld/username ![]() 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
|