Is it possible to put variables in links?

Is it possible to use variables in the URLs? If yes, what’s the syntax for that?
I’d like to set the username as part of an URL.

I think it’s not possible. If by chance the link you want to customize leads to user preference, you can use /my/ such as: https://meta.discourse.org/my/preferences/interface.

1 Like

Thanks, but that’s not what I want. I actually want to link to another website which uses same usernames.

I think it may be achievable by using a custom, additional theme component to change the header’s link(s) dynamically, then.

1 Like

Yes, I thought about that, too, and searched through all theme components I could find, but no success. Do you know a component which could do that?