Recently a bunch of people have been proposing ways to produce short URLs without relying on 3rd parties (tr.im nearly shutting down definitely hit home the need for this discussion). One option was the rev=”canonical” attribute. Others have been various rel values. I like what PHP.net has done—just combine them all and see which one wins out:
<link rev="canonical" rel="self alternate shorter shorturl shortlink" href="..." />
I haven’t yet implemented my own short URLs, but when I do I think that the way I’ll go.
Recent Comments