I am developing a shortlink plugin, that takes the userid and redirects to the userprofile.
Instead of: domain.com/u?123 (where I can easily catch the request by a page plugin and read the userid)
I would like a slash: domain.com/u/123
However, having a slash there, the page plugin cannot catch the "u" request anymore.
How to proceed here, best practice?
The standard way does not work here: