What is meta? ×
Meta Stack Exchange is where users like you discuss bugs, features, and support issues that affect the software powering all 130 Stack Exchange communities.

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.

share|improve this question
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 Jul 9 '13 at 3:00

1 Answer 1

up vote 19 down vote accepted

This URL goes to your current profile:

/users/current

It also accepts query strings:

/users/current?tab=reputation
share|improve this answer
3  
It's like magic! How do the SE gods do it?!? –  Richard J. Ross III Jul 9 '13 at 4:58
    
Also awaiting bug reports with URL encoding and the rediredt... It won't be long! –  Richard J. Ross III Jul 9 '13 at 4:59
    
How did you find this? :) –  uɐɯsO uɐɥʇɐN Jul 9 '13 at 16:53
    
@NathanOsman The tag future report uses current to refer to the user who has logged in: users/tag-future/current –  Antony Jul 9 '13 at 17:07

You must log in to answer this question.

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