I vaguely remember seeing links to comments somewhere, was it a dream or it is indeed doable?


To get a link to a comment, simply click on the timestamp next to it. (If it is your comment, be careful not to click on "Delete" by mistake.)

For example, this is a link to the first comment posted below this answer.

It is possible to get link to some specific comment also from other places where you might see that comment. (Such as user's activity tab, your inbox, etc.) But the above method gives a possibility to get link to any comment you see on the page wich a post - which is, I'd guess, where you'd encounter comments most often.

About linking to a specific answer: How do I link to a MO answer?

  • 1
    $\begingroup$ I will add here at least one comment - so that you can test whether this really works. $\endgroup$ – Martin Sleziak Nov 22 '20 at 9:34
  • $\begingroup$ Many thanks! Yes, it works. $\endgroup$ – მამუკა ჯიბლაძე Nov 22 '20 at 11:20
  • $\begingroup$ By some reason I cannot do @MartinSleziak here, could it be related to the fact that you linked to it?? $\endgroup$ – მამუკა ჯიბლაძე Nov 22 '20 at 11:22
  • 2
    $\begingroup$ @მამუკაჯიბლაძე I'd look at "Where has the @ gone ?" and "How do comment @replies work?" for possible explanations when @username is automatically removed by the software. But I don't see how linking to the comment could influence that. $\endgroup$ – Martin Sleziak Nov 22 '20 at 11:39
  • $\begingroup$ Oh I see, I did not pay attention that I am responding to the author of the answer, not to a commenter. $\endgroup$ – მამუკა ჯიბლაძე Nov 22 '20 at 11:41
  • 1
    $\begingroup$ Sometimes I want to link to a comment inside another comment, so I strip away as much cruft as possible. Often the copied link includes noredirect=1 or whatever, and that can go away. I've noticed in fact that the slug can go, too: https://meta.mathoverflow.net/questions/4763/is-linking-to-comments-possible#comment24200_4764 can be shortened just to https://meta.mathoverflow.net/questions/4763#comment24200_4764. However, this seems to break when there are multiple pages of answers. In that case, what is the minimum I need to keep to link to the correct comment? $\endgroup$ – LSpice Dec 18 '20 at 17:08
  • 1
    $\begingroup$ @LSpice I tried a few variants and found out that if I get a comment link from an answer, the link no longer works after changing the part of URL which contains the title. I'd guess this could be considered a bug, since this might cause links obtained from a timestamp to stop working after an edit to the title. Let me know, whether you plan to post something about this on Meta Stack Exchange - if not, I can post the bug report about this issue. $\endgroup$ – Martin Sleziak Dec 25 '20 at 8:14
  • $\begingroup$ @MartinSleziak, re, I haven't done enough experimentation to figure out what works and what doesn't, so, if you are in a position to file a proper bug report, then I'd certainly be grateful if you could. $\endgroup$ – LSpice Dec 25 '20 at 16:10
  • 1
    $\begingroup$ @LSpice I got a suggestion on Meta Stack Exchange to use the links in this format if I need to save the number of characters: https://mathoverflow.net/posts/comments/2259. You can check that it goes to a comment. This was suggested in rene's comment under my post: Links to comments when the title has been edited. $\endgroup$ – Martin Sleziak Dec 25 '20 at 20:40
  • $\begingroup$ @MartinSleziak, cool! That link appears to be edited down from https://mathoverflow.net/questions/2340/what-is-the-first-interesting-theorem-in-insert-subject-here/2431#comment2259_2431. So, although the 'native' URL includes both comment number and question number, the question number is irrelevant? (Also asked in your other post. Link to @rene's comment.) $\endgroup$ – LSpice Dec 25 '20 at 21:05

You must log in to answer this question.

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