Commit 6967195e authored by Daniel Gruno's avatar Daniel Gruno
Browse files

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
parent 8db60dd5
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -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>