zapread.com
zapread.com copied to clipboard
Navigate groups by name
What
Group names have to be unique, so they can be used as key in the url. /Group/GroupDetail/1 could be /Group/Detail/Community.
Or even better /Group/Community. (Careful with a group called GroupDetail and stuff like that, so maybe an own endpoint is a good idea.)
Why
It looks better and is easier to remember. Also groups are the 1 position where the most content about 1 keyword is stored, for SEO I believe it would be good to have that keyword in the url.
Agreed. This would be good.
What about /Group/Detail/my-super-awesome-group/ as a pattern?
This is proving a bit difficult to use JUST the name. Basically, group names are internationalized, and also may include already some characters like '=' which can't be used in the URL. So, I will keep using an ID, but also allow a string group name. Maybe also an encoded ID.