Profile page link with random ID
The profile of any individual member can be viewed by navigating to /members/username. However, this enables anyone who knows the username of a particular user to directly navigate to their profile page. I want to make this non-trivial by changing the above structure so that the profile link is /members/unique_string. Here, “unique_string” is ideally an alphanumeric string unique to each user. I can generate such a string using the md5 algorithm on the username or the user id. But how do I change the link structure to the above?
- You must be logged in to reply to this topic.