Say I want to link to community x on instance y.org. How do I post this so that someone from instance z.org will end up at z.com/c/x@y.org, but someone from a.org ends up on a.com/c/x@y.org?
Say I want to link to community x on instance y.org. How do I post this so that someone from instance z.org will end up at z.com/c/x@y.org, but someone from a.org ends up on a.com/c/x@y.org?
Relative links seem to be the best way to accomplish what you’re looking to do. So, in your example, it’s
/c/x@y.org
.Doing it live
Reference: https://lemmy.dbzer0.com/post/6063