Canonical alternate short url links
| From: | Rasmus Lerdorf | Date: | Thu, 09 Apr 2009 21:42:11 +0000 |
| Subject: | Canonical alternate short url links | ||
| Groups: | php.doc | ||
| Request: | Send a blank email to phpdoc+get-969380328@lists.php.net to get a copy of this message | ||
I think we should add a tag like this to each of our documentation pages:
<link rev="canonical" rel="self alternate shorter"
href="http://php.net/echo">
On the http://us.php.net/manual/en/function.echo.php
page
I want to support the effort underway to take the Web back from the URL
shorteners. I don't think it is healthy for the Web that everything is
a tinyurl these days.
I'd much rather that people use php.net/echo than tinyurl.com/abc123 to
link to http://us.php.net/manual/en/function.echo.php
and by adding the
canonical link tag above, we take the first step towards things like
http://revcanonical.appspot.com/ working and
eventually twitter clients
and other things doing this automatically themselves or using the
revcanonical api to do it for them. It is just as easy as getting a url
from a tinyurl service and you end up with a better, more permanent and
more descriptive url.
It should be a trivial change that we can get done in short order.
-Rasmus