That was kind of my point though - for communities there is a generic link that all apps/web interfaces can recognize and take you to the community on your instance.
Yes, but as of now the lemmy developers don’t know how to implement this for posts and comments. So as of now, the only solution is for front ends to rewrite the URL when a user clicks on it. The way voyager does this is by checking the list of instances federated with yours, and if the link is to an instance federated with yours, it finds the comment or post in your instance and changes the link to that one before taking you to it.
There currently is no way. Though many front-ends do it automatically, including mlmym (old lemmy), voyager, and alexandrite.
Hmmm, lemdro.id hosts all of them and I tried them out but whenever I copy a post link it gives a link from the hosting instance.
It still appears to be a link to the original instance, but when you click it, it gets rewritten to be your instance.
Ah, so on the viewing end, not the posting end?
Yes, exactly. Otherwise it would only work for the poster and not all the viewers.
That was kind of my point though - for communities there is a generic link that all apps/web interfaces can recognize and take you to the community on your instance.
Yes, but as of now the lemmy developers don’t know how to implement this for posts and comments. So as of now, the only solution is for front ends to rewrite the URL when a user clicks on it. The way voyager does this is by checking the list of instances federated with yours, and if the link is to an instance federated with yours, it finds the comment or post in your instance and changes the link to that one before taking you to it.