URL에서 `my`는 사용자를 나타내는 일반적인 접두사입니다. 호스트명을 나타내는 비슷한 것이 있을까요?

As an admin we often want to give a link to a user to their settings page.

Instead of giving them an example with a hard coded user in the URL like

https://swi-prolog.discourse.group/u/ericgt/preferences/account

we change out u/ericgt with my

https://swi-prolog.discourse.group/my/preferences/account

and give that to our users and they are non the wiser.

Now some of us as admins visit other sites and help other admins and would like the same magic to happen but for the hostname, e.g. swi-prolog.discourse.group

Is there a generic replacement for the hostname that works on Discourse sites?

How about using a url like /my/preferences/account

Link here

[Link here](/my/preferences/account)

I tested it on anther site and works like I would expect. :grinning:


EDIT

It took me a bit to understand how this works then I realized it is using an absolute path reference. Never thought about doing that. Will have to add that tool to my toolbox.