public marks

PUBLIC MARKS from Spone with tags html & url

28 July 2009 17:15

Short URL Auto-Discovery ‎(wiki)‎

Short URL auto-discovery is a simple way to link a long URL with a short URL. The following code should be placed in the head section of the HTML page. link rel="shorturl" href="http://short.com/1234" or add the following to the HTTP Headers of the page Link: http://short.com/1234; rel=shorturl In most real-world situations, the short URL then redirects with an HTTP code 301 to the long URL, but that behavior is not covered by this RFC. That's it! :) try it at: http://relshorturl.appspot.com/