Allow /u/ to work like /users/

(Joshua Rosenfeld) #1

Continuing the discussion from Design choice behind /t, /c, and /users:

@Sam requested a specific topic…here it is.

There have been requests for /u/ to work in a URL similar to how /c/ and /t/ work.

(Jeff Atwood) #2

This is probably a good idea @eviltrout. We will need to support both forms for backwards compatibility for a while.

(Robin Ward) #3

I have a large-ish PR for this now. Looking for more eyeballs from the team before I merge it in:

(Robin Ward) #4

Okay, I’ve merged in support, so as of now the latest Discourse will have /u/ in the path instead of /users. Please let me know if you find any issues!

For backwards compatibility, the old paths will work for a very long time. However, definitely point out places that we missed, because long term we want to remove all the old paths.

edit: This doesn’t seem live here on meta yet because we’re reviewing the auto_reopen code

(Robin Ward) #5

Update, this is now present here on meta. Please report any bugs as you find them! I consider any path with /users to be a bug, even if it’s working!

(Joshua Rosenfeld) #6

@eviltrout, it looks like admin is still using /users - is that intentional?

(Robin Ward) #7

Yeah, that was a whole second set of routes that were not publicly visible so I omitted them.

(Jeff Atwood) #8