I am creating some project and because of task, I need this:
domain.com/user/user123 - return profile of "user123" with his personal info
domain.com/my-profile - return profile of current logged user
I've tried add_query_args or some tutorials ( likehttp://www.rlmseo.com/blog/passing-get-query-string-parameters-in-wordpress-url/), but it doesn't work for me.
Maybe there is an option with htaccess way, but this part is very confusing me (I mean when I use WordPress way). Any ideas?