Sometimes I'd like to link to another answer of the same question in my own answer. The simple way to do it is to copy the permalink of the answer and use that. However, that is likely to reload the page when clicking the link because SO links are not normalized to a canonical form. I also tried making a link of the form [link](#id) but this won't render.

I'd prefer a technique that avoids reloading the page, if possible.

(EDIT: If there's no better way of doing this, of course I'll accept that as an answer too. I'd just like to make sure I didn't miss something.)


[link](#id) used to be supported and was nice in most cases, but it became unreliable for those rare questions which span multiple pages. I prefer to accept the reload and use the normal [link](/a/id), as it's the most convenient and unambiguous way of reliably specifying the target.

  • I was not aware that questions can be several pages long. So I won't try to use only the ID then. But do you mean that [link](#id) works for you? (It doesn't render as a link for me.) – Szabolcs Jan 9 '12 at 13:16
  • 2
    @Szabolcs No, it does not. It worked in the past but was disabled at some point. I forgot about the change when I first wrote my post. – Jeremy Jan 9 '12 at 13:19

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .