-
☆ A M B ☆
- 24,524 Posts
You would make that into a query string
https://www.mostafijur.com/test/page-title?u=username&i=id"
Better still use the session to store this information; it's much more secure.
-
☆ A M B ☆
- 24,524 Posts
You could use a plugin using the onPageNotFound event to fetch the appropriate resource from the $_GET values.
I think you want something like this (untested):
$base = $_SERVER['REQUEST_URI'];
$q = $_SERVER['QUERY_STRING'];
parse_string($q);
$url = $base . '/' . $username . '/' . $id;