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

(06-10-2019, 01:38 AM)Matleyx Wrote: You have modified the autoload file?
Can you post the psr4 in that 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 Smile. Am I missing something?

Thanks!
Reply


Messages In This Thread
RE: User link - route all request that generates 404 - by mirel.popescu - 06-15-2019, 02:17 PM



Theme © iAndrew 2016 - Forum software by © MyBB