There are a lot of different apps / frontends that can show stuff from Lemmy, and they vary in how well they support different link formats. Here is a short explainer:

Each entry below shows you what you should type (like this) and what you will see as a result (after the dash ‘-’).

For each entry, some apps will support it and others will not. It can be helpful to include a few different link formats so that everyone can use the link easily.


NOTE: There is a bug on the Lemmy website right now. If you start typing a community or username, it will try to autocomplete it. DO NOT click that autocomplete, or it will mess up the link.


!community@example.com - [email protected]

  • This is the universal format. If you click this link, the community will open in your home instance.
  • This is the recommended method.
  • If you are coming from Reddit, it is similar to how you could type /r/askReddit

[you can put whatever here](/c/community@example.com) - you can put whatever here

  • This is another way to make a universal link. If you click this link, the community will open in your home instance.
  • This works well if you can’t use the method above. For example, if you want to stick a link in a shields.io badge, you can use this technique to still include a universal link.

example.com/c/community - https://example.com/c/community

  • This is a hardcoded link. This is what you can copy and paste from the browser. If you click this link, the community will open on a specific instance. Anyone using a different instance (ex. anything except lemmy.ca in this case) will not be able to subscribe right away, and they will need to redirect it first.
  • Sometimes you can’t use the methods above. For example, if you want to create a nice thumbnail while promoting your community on [email protected], you will need to use this URL.
  • If you use this method, try to use the other methods as well so people have options.

https://lemmyverse.link/c/community@example.com

  • You can also use this external tool to automatically redirect users. Once the user clicks on the link, they will be redirected to the instance that they set. This can be great for new users that click on the link, who may not understand what is happening or how the instances work.
  • This also works for posts, but I will write up a separate post for those
  • OtterOPMA
    link
    fedilink
    English
    arrow-up
    5
    ·
    1 year ago

    Some apps can automatically redirect hardcoded links. If you are using the website or a different front end, you can use the [email protected] browser extension to redirect them too

  • Rikudou_Sage@lemmings.world
    link
    fedilink
    English
    arrow-up
    2
    ·
    1 year ago

    I’d also add that outside Lemmy you can use https://lemmyverse.link/c/[email protected] which will allow people to set their preferred instance once and then get redirected to the same instance every time.

    That service is also the only (as far as I know) reliable way to redirect to a specific post, for example this link should open on the instance you selected: https://lemmyverse.link/lemmings.world/post/2817248. That’s because all posts have a local id (local to the instance you’re on) in the URL, meaning there’s no easy way to detect the post id for your target instance just from the URL. For lemmy.ca the same post is at https://lemmy.ca/post/9315270 (notice the different IDs).

    • OtterOPMA
      link
      fedilink
      English
      arrow-up
      6
      ·
      1 year ago

      Also if you use a hardcoded link, this bot will pop in and tell you to fix it.

      Unfortunately, it will pop in even when you use a hardcoded link on purpose

      • Thisfox@sopuli.xyz
        link
        fedilink
        arrow-up
        3
        ·
        1 year ago

        A bot that is actually useful! As opposed to that incredibly misleading article summary bot…

        • OtterOPMA
          link
          fedilink
          English
          arrow-up
          3
          ·
          1 year ago

          I like the summary bot… most of the time. A lot of people only read the headline, and the bot gives some more context to use.

          These days it seems like the bot messes up the summary more often, maybe something broke with the bot

      • Downcount@lemmy.world
        link
        fedilink
        arrow-up
        3
        ·
        edit-2
        1 year ago

        Wouldn’t it be nice to introduce something like a codex for bots with a minimal required set of commands. This way bots could implement things like a @nobot command. In this example: If I would write a hardcoded link on purpose but also end my post with “@nobot” the bot would not comment on my post.