I can share the link of a post like https://lemmy.world/post/58535 but if I change the domain to lemmy.ml it links to a different post.

I understand that the post Id is local but, is there a way to generate a global link that contains the information about the server, community and post?

I think it will be useful to make mirror sites, index in Google, addons to redirect to your Lemmy server…

  • Threen@aussie.zone
    link
    fedilink
    English
    arrow-up
    2
    ·
    1 year ago

    What about if I want to link to a post that will work for the local instance?

    For example, @huojtkeg@lemmy.world posted above that https://lemmy.world/post/58535 is his instance link, and https://lemmy.ml/post/1205894 is the link from lemmy.ml. Neither of which allow me to comment directly.

    Is there linking method that says Give me the link for post #X on instance Y, but give me the link on the viewing instance?

    • empireOfLove@lemmy.one
      link
      fedilink
      English
      arrow-up
      2
      ·
      1 year ago

      Is there linking method that says Give me the link for post #X on instance Y, but give me the link on the viewing instance?

      ahh. I see what he means. You want to convert a generic link from a remote instance to your home viewing instance.

      No way exists to do that right now, AFAIK. You would have to search for the community from your local instance, get into that, and search for the post. Another bit of a pain point for lemmy’s growth… if you can’t even link to other Lemmy posts efficiently.