how do I link a lemmy instance or community in a comment?

Vormital@lemmy.world to No Stupid Questions@lemmy.world – 22 points –

As title.

So back on the old site you could write /r/NameOfSub. And it would allow other to click it to take them there. How do we do that in Lemmy? Thank you.

17

I use kbin so I might be wrong, but you do !community@instance.whatever, so !nostupidquestions@lemmy.world, becomes !nostupidquestions

I'm not sure if it works on Lemmy, but on kbin @nostupidquestions@lemmy.world also works, it becomes @nostupidquestions

I use kbin so I might be wrong, but you do !community@instance.whatever, so !nostupidquestions@lemmy.world, becomes !nostupidquestions

Hmm, maybe that's not entirely working for KBin because your "!" link links me to https://lemmy.world/c/nostupidquestions as opposed to through my home instance.

The Link Fixer bot got it right.

Hmm that might be an issue with the way kbin processes it. I know there were some changes to how that worked in the most recent kbin update, @nostupidquestions used to link to https://kbin.social/m/nostupidquestions@lemmy.world but it also does the same for me

A link to an instance is always going to be absolute so you just type the name of the instance. Most of the time the editor links it, but it still doesn't understand some of the domain names, for example lemm.ee links but lemmy.world does not. If the editor fails to link you can prefix the name with https://, for example https://lemmy.world

The link fixer bot shows how to link a community for Lemmy, but it's different for kbin. The problem is if you use an absolute link to a community, you redirect the user away from their instance. The !community@instance.name format makes links relative so you stay on your own instance. Now we have the bot and it will post a fix, but better not to call the bot. Just do it right from the start.

There's still the problem of how to do a relative link for a post. If someone knows I'd like to see that. At this point all post links are absolute and direct you away from your instance.

On the web i just copy the url. I haven't found an easy way on the apps.

Edit - Connect has a share button.