What is meta? ×
Meta Stack Exchange is where users like you discuss bugs, features, and support issues that affect the software powering all 128 Stack Exchange communities.

Currently, when you hover over the link link for a question you see a shortlink.

For example for this question, hovering over the link for the question shows you:

http://stackoverflow.com/q/3664462/[USER_ID]

and the title displays short permalink to this question

Whereas hovering over the link for an answer for the same question shows you

http://stackoverflow.com/questions/3664462/ajax-inconsistency-in-ie-8/3664482#3664482

and the title displays permalink to this answer

I think it'd be very convenient to provide a short permalink to the answers too. For example the above answer can also be linked to by simply using

http://stackoverflow.com/q/3664482

As Jon Seigel pointed out in the answers, the above takes you directly to the Answer, and it's just as short as the question link. Also, the User ID could be tacked on.

Providing this as the answer link seems more consistent to me.

Visual aids:

Question:

alt text

Answer:

alt text

share|improve this question
6  
This was status-declined but now it's been implemented. Yay! –  Jeremy Banks Nov 22 '11 at 17:10
    
@Jeremy - Thanks for pointing this out. Very nice! –  Peter Ajtai Nov 29 '11 at 21:08

2 Answers 2

think we wish to have more people share links to questions rather the answers, we wish people to promote the site, not just their answer.

share|improve this answer
5  
that's an ominous "we"... ;) –  Peter Ajtai Sep 9 '10 at 18:37
2  
This is interesting. Someone from my office asked me a question almost the exact same as a question I'd answered on Stack Overflow. So rather than writing a detailed explanation for them via email, I sent them the link to my answer. –  Andy E Sep 14 '10 at 11:27

You can already mostly do this by abusing the URL processing algorithm, but it's an extra step to get the URL (you'll have to manually edit).

How? When you put in an answer post ID into the URL where it expects a question ID, you get taken to the answer automatically!

Example linking to Jeff's answer:

Long link (from the "Link" button): Show a short link for Answers too... not just Questions

Short link: http://meta.stackexchange.com/questions/63846

Using the shorter link, you automatically get redirected to the long link.

The only way I could see this getting shorter is something like http://meta.stackoverflow.com/p/ ('p' is for posts) followed by either a question ID or answer ID. Edit: this is already implemented as /q/.

share|improve this answer
    
That's neat... Also, slightly shorter: meta.stackexchange.com/q/63846 –  Peter Ajtai Sep 9 '10 at 17:49
    
Works for multi-page also: meta.stackexchange.com/q/63567 –  Rebecca Chernoff Sep 9 '10 at 17:50
2  
With the user id seems to work but I can't guarantee it'd get logged/counted for the badges obviously: meta.stackexchange.com/q/63567/140548 –  Rebecca Chernoff Sep 9 '10 at 17:56
    
@rchern - Yeah, that's what I'd like to know (whether they'd be logged). –  Peter Ajtai Sep 9 '10 at 18:00
    
Old news, I've a list with answer links like that in my SO profile. So that it fits within the 3K char limit :) +1 for sharing it though. –  BalusC Sep 9 '10 at 21:58

You must log in to answer this question.

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