this post was submitted on 29 Jan 2023
5 points (100.0% liked)

Lemmy Support

4720 readers
4 users here now

Support / questions about Lemmy.

Matrix Space: #lemmy-space

founded 5 years ago
MODERATORS
 

How do I format a link to a remote lemmy community that allows someone to subscribe to it directly from their own instance?

An example of such a post is here https://lemmy.blahaj.zone/post/4711. This is a post made for a community on mander.xyz, posted to lemmy.ml and viewed through my instance blahaj.zone.

Whichever instance you view it on, the link formats so that you can subscribe to it directly from the instance you are viewing it on.

I’ve tried using /c/communityname formatting, but that doesn’t seem to work.

@[email protected]

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 4 points 2 years ago* (last edited 2 years ago)

Yes, that is how I did it :-)

It works for communities because their relative url is always /c/[email protected]

For posts and comments it won't work because the post and comments IDs are different for each instance. For example, this post is at https://mander.xyz/post/520556 at mander and at https://lemmy.blahaj.zone/post/6506 at blahaj.zone, so the relative urls are different.