Rather than a format like piefed.social/post/long_number, posts how have a url that includes the community name and title in it.

Like this: https://piefed.social/c/animatedmusicvideos@sh.itjust.works/p/1382987/junior-senior-move-your-feet-official-music-video-hd

This improves readability, helps people differentiate between multiple links in a list and is better for SEO.

The old style of url still works too and there may be occasions when you get taken to a url like https://piefed.social/post/1382987 but we'll be working to remove those over time.

all 10 comments

sorted by: hot top controversial new old
[–] 6 points 1 year ago (2 children)

@rimu It can be any community name and title thoughE.g., piefed.social/c/anything/p/138 resolves to the same content as your original link.That feels like a risk - you could give someone a URL that looks like it's for one community/title, but goes to a completely different one.Trivial example - piefed.social/c/piefed_meta@pi - looks trustworthy, but is completely different. That could be NSFW content, and you won't know until you click.It isn't NSFW, you can trust me.Or can you...?

  • source
  • hideshow 2 child comments
  • [–] [S] 7 points 1 year ago (1 child)

    Yes, the /p/number bit is the only functional part of the url. I'll make it check for tampering!

  • source
  • parent
  • hideshow 1 child comment
  • [–] 2 points 1 year ago

    rimu@piefed.social for what it's worth, we had this discussion a decade ago too.

    We ended up being very simplistic and not tying anything to anything else.

    So posts are not tied to topics (theoretically you could have a post in multiple topics... we don't do that, but you can)

    And topics aren't tied to categories (same deal, and we also don't have topics in multiple categories... yet!!, cross-posting will change that.

    So when you have a direct url to a post it's just /post/. A friendly URL uses a post index, but we can do that because we order posts linearly. Piefed doesn't have that advantage unfortunately.

  • source
  • parent
  • [–] 5 points 1 year ago

    @rimu this is awesome!

  • source
  • [–] 3 points 1 year ago

    Cool tweak!

  • source
  • [–] 2 points 1 year ago

    Nice, appreciate it!

    BTW hashtags look messy and spammy as if shouting for attention. Tags organize content quietly and work better for reach and discovery.

  • source
  • [–] 2 points 1 year ago

    Thanks so much, this is also one of the things that annoys me on Lemmy

  • source
  • [–] 1 point 1 year ago (1 child)

    Awesome! The post ID is still instance-specific and not community-specific, right? Asking because community-specific would make it very easy to view it from a different instance, but I can imagine that's complicated.

  • source
  • hideshow 1 child comment
  • [–] 1 point 1 year ago