zapread.com icon indicating copy to clipboard operation
zapread.com copied to clipboard

Navigate groups by name

Open wfinn opened this issue 5 years ago • 2 comments

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.

wfinn avatar May 09 '20 09:05 wfinn

Agreed. This would be good.

What about /Group/Detail/my-super-awesome-group/ as a pattern?

Horndev avatar May 09 '20 17:05 Horndev

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.

Horndev avatar Mar 16 '22 02:03 Horndev