I can’t be the only reddit migrant who often instinctually goes to a given community by typing /r/community, only to be 404d. If the /r/ path isn’t being used for anything else, is it possible to have it dynamically redirect to /c/ instead?

  • Rentlar@lemmy.ca
    link
    fedilink
    English
    arrow-up
    6
    ·
    edit-2
    5 days ago

    The canonical convention here for community names on Lemmy is:

    ![community name]@[instance]

    It’s actually discouraged even to link it as /c/, (though people here often refer to communities in that way). Example: instead of https://lemmy.ca/c/canada, use

    !canada@lemmy.ca. this way, for users visiting us from other instances such as lemm.ee, their Lemmy app or interface will automatically convert the link to https://lemm.ee/c/canada@lemmy.ca which is how they can stay logged in and comment on posts there, instead of navigating directly to lemmy.ca where they have no account.

    Edit: !canada, on some UIs make a link for local users, but chances are that will run into the 404 problem for other instance users.

    • masterspace@lemmy.caOP
      link
      fedilink
      English
      arrow-up
      4
      arrow-down
      1
      ·
      edit-2
      5 days ago

      That’s interesting, I’ve seen links in that format but was never quite sure what was going on, thanks for the explanation! I get why it would be done that way, but at first blush it seems somewhag inherently problematic to establish a convention where you provide someone with an address and yet when they follow it, their browser will always leave them at a different address then what they clicked.

      Though in this case, it didn’t even arise for links, but just me typing the old Reddit style URL into my browser bar by hand because I’m ancient.