diff options
author | Daniel Gruno <humbedooh@apache.org> | 2012-07-13 19:35:30 +0000 |
---|---|---|
committer | Daniel Gruno <humbedooh@apache.org> | 2012-07-13 19:35:30 +0000 |
commit | 9709b2c643ce794b0d5cc37b4e42846b3be173dc (patch) | |
tree | 8d694137e232d23985423ccbf91918dadc1098c3 /docs/manual | |
parent | 1fd58a7ad0c0345eb862d4dc063630a3d48058b7 (diff) | |
download | httpd-9709b2c643ce794b0d5cc37b4e42846b3be173dc.tar.gz |
Add a canonical link to all pages, so search engines will prefer 2.2 over 2.0
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.0.x@1361345 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'docs/manual')
-rw-r--r-- | docs/manual/style/xsl/common.xsl | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/docs/manual/style/xsl/common.xsl b/docs/manual/style/xsl/common.xsl index e35ed25ce8..1537761942 100644 --- a/docs/manual/style/xsl/common.xsl +++ b/docs/manual/style/xsl/common.xsl @@ -168,9 +168,10 @@ rel="stylesheet" href="{$path}/style/css/manual-print.css"/> - <!-- chm files do not need a favicon --> + <!-- chm files do not need a favicon or a canonical link--> <xsl:if test="not($is-chm or $is-zip)">&lf; <link rel="shortcut icon" href="{$path}/images/favicon.ico" /> + <link rel="canonical" href="http://httpd.apache.org/docs/2.2{concat($metafile/path, $metafile/basename, '.html')}"/> </xsl:if> </head> </xsl:template> |