34

When describing certain activities to new users, it often becomes necessary to direct them to their user profile. I got to thinking that it would be nice if we had a /users/me URL that would automatically redirect to their actual profile URL. Then we could provide a link that any user could click and they would be directed to their profile page. As an added bonus, the query string could be included in the redirect, allowing anyone to create a link to a certain tab in a user's profile.

Naturally if the user is not logged in, the URL would redirect to the login page or something similar.

1
  • 1
    Heh, I was thinking this the other day. On a related note, I recently found out that /election/latest exists, although it doesn't respect query parameters.
    – Tim Stone
    Commented Jul 9, 2013 at 3:00

1 Answer 1

24

This URL goes to your current profile:

/users/current

It also accepts query strings:

/users/current?tab=reputation
4

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .