4 ms·
Who cares if its a short URL or not? An URL is an URL. If you want to "discover" what is behind a link, do something like $ curl -I http://faux.com/XiSk HT
by bradgessler 17y ago
Who cares if its a short URL or not? An URL is an URL. If you want to "discover" what is behind a link, do something like
$ curl -I http://faux.com/XiSk
HTTP/1.1 302 Moved Temporarily
Server: nginx/0.6.35
Date: Mon, 17 Aug 2009 09:47:11 GMT
Content-Type: text/html
Transfer-Encoding: chunked
Connection: keep-alive
Location: http://www.faux.com/the/realz/resource
And HTTP 302 is more than just a redirect. 302 says, "Hey, the resource is over here, but check back with me next time before you request that same resource because it might change" whereas a HTTP 301 says, "Don't worry about checking back here next time you want the resource, its really over there".
Maybe URL shortners should be throwing 301's around instead of all of this rel nonsense.
- behe101 17y agoPeople who use Twitter care if it's a short URL. And it reduces link rot, as the shortened URL comes from the source of the content.
- simonw 17y agoI think you're missing the purpose of this thing. rel=-hortlink / rev=canonical answer the following question: "I'm on a page with a really long URL. Is there a preferred shorter URL for this page?" In the context of URL shorteners, 302 redirects usually take you from a short URL to a longer one. rel=shortlink is about discovering the preferred short URL when all you have is the long URL.