On Thu, Apr 9, 2009 at 23:42, Rasmus Lerdorf <ras...@lerdorf.com> wrote:
> 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

Done.

Note: Our custom shortcuts aren't detected (such as php.net/construct
=> language.oop5.visibility), just the regular sections are
'stripped'.
Examples:
http://www.php.net/manual/en/control-structures.continue.php
  => http://php.net/continue
http://www.php.net/manual/en/function.strpos.php
  => http://php.net/strpos
http://www.php.net/manual/en/language.oop5.overloading.php
  => http://php.net/oop5.overloading

I've also added support for rel=canonical, using http://php.net (no
mirror/www).. bit unsure how the spiders will handle that.. we'll see
:)

-Hannes

Reply via email to