私人消息的通用 URL 是什么?

I’d like to use the iconified header links theme to link to private messages in the navbar via an envelope icon.

However, since the private messages URL is custom to a user path, e.g. /u/:username/messages, I can’t seem to accomplish this without a plugin. There is the quick messages plugin but that’s overkill for what I’m trying to accomplish.

How can I redirect /messages to /u/:username/messages ?

1 个赞

Hi andrewj welcome to the forum

Looking for this?
https://meta.discourse.org/my/messages
https://meta.discourse.org/my/messages

5 个赞

Yes that’s exactly what I’m looking for, thanks @Mittineague !

I searched far and wide but couldn’t find it previously. Thanks very much!

2 个赞

This topic was automatically closed after 2189 days. New replies are no longer allowed.