Skip Navigation

Protip: Use instance or relative links when linking to other communities on lemmy!

EDIT/UPDATE: Recent versions of lemmy make this even easier by allowing turning the !instance format into a relative link to your instance. For example !div0@lemmy.dbzer0.com. However when you do this, don't use the auto-fill option which turns it into a markdown link, as that will break this functionality.

When you link to another community on lemmy with a absolute link like so Div/0 this links to that community directly from that instance's domain. This means users who follow that link from other instances, will not be able to comment or subscribe. They will have to go back and edit their URL manually to workaround this.

If you instead link to a community using a relative link like so Div/0 it will lead them to the community using their own instance as a mediator, allowing them to interact with it naturally.

The source for the above relative link is like this [Div/0](/c/div0@lemmy.dbzer0.com). So basically just add only the /c/... part and ensure your instance's domain is at the end

12 comments
  • Unfortunately I haven't found a way to relativelink to specific posts yet as their IDs change from instance to instance.

    Likewise, I haven't found a way to relative link to another instance when putting it in a new posts' URL

  • They work fine on the browser, but for now relative links don't work in Jerboa. I'd assume they don't work for people connecting through Mastodon or other software either.

    • ye, looks like plenty of spaces to improve UIs all around. I think we don't particularly need to worry about people browsing from mastodon too much, whereas it's a big improvement when browsing via lemmy.

  • Are there any tools that help with this, when relative links haven't been used? Like a browser plugin that would help redirect back to one's own instance?

    Or is there a way to hack the url to get to a specific post within a community through one's own instance?

12 comments