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

There is a link to refer to a Stack Overflow question, but does SO provide a shortened URL?

share|improve this question

migrated from stackoverflow.com Jan 18 '13 at 18:58

This question came from our site for professional and enthusiast programmers.

1  
http://stackoverflow.com/q/14405584 What is "SF" though? –  Wesley Murch Jan 18 '13 at 18:52
    
@WesleyMurch Server Fault? –  Bart Jan 18 '13 at 18:59
    
Funny I just noticed today Amazon has a short url. Like amzn.com/B0028BDM72 It would be COOL if the share button on StackOverFlow sites could emit something like stkovrflw.com/q/2574 This makes is easy to consume these urls into mobile devices –  Mr. Young Jan 18 '13 at 23:43
add comment

2 Answers

You can remove the whole part after the question ID (in the case of this question, the /is-there-a-way-to-shorten-the-stack-overflow-urls).

The longer, more manual way:

The formula for shortening a question is sitename + .com/q/ + question id

This question's full URL is http://meta.stackexchange.com/questions/164194/is-there-a-way-to-shorten-the-stack-overflow-urls

The shortened version is http://meta.stackexchange.com/q/164194.

Similarly, you can do this with any other site in the SE network:

http://cooking.stackexchange.com/questions/2574/why-add-salt-to-the-water-when-cooking-pasta

becomes

http://cooking.stackexchange.com/q/2574.

The fewer-things-to-delete way:

Use the "share" link underneath any question or answer. The URL you see in the pop-up follows the formula above, but it appends your user ID to the end (so that you can get badges like Announcer). You can copy & paste the whole URL in the "share" box, or strip your user ID from the end. Either way, it's short.

enter image description here

share|improve this answer
    
And if you're not logged in the "share" link doesn't even have a user ID to delete. –  Servy Jan 18 '13 at 19:36
add comment

You could always use http://tinyurl.com/ if you want to shorten a URL for sharing.

If you want to name your url w/ Markdown you can always use brackets: [Linking in StackOverflow] (http://stackoverflow.com/editing-help#links)

share|improve this answer
add comment

You must log in to answer this question.

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