Re: Canonical alternate short url links

From: Date: Fri, 10 Apr 2009 09:56:42 +0000
Subject: Re: Canonical alternate short url links
References: 1  Groups: php.doc 
Request: Send a blank email to phpdoc+get-969380331@lists.php.net to get a copy of this message
On Thu, Apr 9, 2009 at 23:42, Rasmus Lerdorf <rasmus@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

« previous php.doc (#969380331) next »