I would like to create a “public profile” page to display a user’s page. This would be analogous to the author’s profile on Medium (e.g., https://medium.com/**ichaperot**).
Each user has a unique username that they create upon account creation (the uniqueness is a field constraint in Tadabase). For instance my username is “ichaperot”, which is basically my “handle”.
The complicated part is to have the unique handle (“ichaperot”) instead of the record ID in the URL. Right now I have this page: https://www.copyrights.net/#!/author/view-profile/-4MXQJdrZ6v
I would like to replace it with “https://www.copyrights.net/#!/author/view-profile/ichaperot”.
The bonus would be to shorten the URL with a redirect (“https://www.copyrights.net/@" => "https://www.copyrights.net/#!/author/view-profile/”) so that
https://www.copyrights.net/@ichaperot could redirect to https://www.copyrights.net/#!/author/view-profile/ichaperot
I don’t know how to do this. Has anyone in the community any idea on how to do anything like that?
Thank you!!