25
submitted 1 year ago by [email protected] to c/[email protected]

Say I want to link to community x on instance y.org. How do I post this so that someone from instance z.org will end up at z.com/c/[email protected], but someone from a.org ends up on a.com/c/[email protected]?

you are viewing a single comment's thread
view the rest of the comments
[-] [email protected] 5 points 1 year ago* (last edited 1 year ago)

The best way is to use relative links, such as [email protected]

What I did there was simply [[email protected]](/c/[email protected]). This link doesn't start with the protocol and site, but instead assumes the current site, and starts with /c/my_comunity@my_site.tld, meaning it will be routed to the same instance.

This will probably not work for those on Kbin, since their communities (magazines) don't start with /c/, but rather with /m/. If anyone knows a good way for this to work for both, I'd be glad to adopt that myself going forward.

[-] [email protected] 1 points 1 year ago

For kbin at least, there's currently a Firefox add-on that adds an icon next to any full or relative links that sends them to the corresponding kbin magazine version of the lemme community.

https://addons.mozilla.org/en-US/firefox/addon/kbin-link/

load more comments (3 replies)
this post was submitted on 20 Jun 2023
25 points (100.0% liked)

Technology

37604 readers
165 users here now

A nice place to discuss rumors, happenings, innovations, and challenges in the technology sphere. We also welcome discussions on the intersections of technology and society. If it’s technological news or discussion of technology, it probably belongs here.

Remember the overriding ethos on Beehaw: Be(e) Nice. Each user you encounter here is a person, and should be treated with kindness (even if they’re wrong, or use a Linux distro you don’t like). Personal attacks will not be tolerated.

Subcommunities on Beehaw:


This community's icon was made by Aaron Schneider, under the CC-BY-NC-SA 4.0 license.

founded 2 years ago
MODERATORS