You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@forrest.apache.org by "David Crossley (JIRA)" <ji...@apache.org> on 2015/08/24 04:01:45 UTC

[jira] [Commented] (FOR-1253) consider using the head/link rel=canonical for non-current sets of docs

    [ https://issues.apache.org/jira/browse/FOR-1253?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14708655#comment-14708655 ] 

David Crossley commented on FOR-1253:
-------------------------------------

Consider adding the "link href=... rel=current" to the head of output html for the "past" set of documentation.

Here is one discussion of the situation:
https://moz.com/blog/canonical-url-tag-the-most-important-advancement-in-seo-practices-since-sitemaps

As an example, see the older versions of Apache HTTP Server Documentation
http://httpd.apache.org/docs/
Their mail archives probably have discussion of when they introduced this.

Some factors to consider:

Should the href be a relative url with a leading slash.

Should it be double-slash.

Should we utilise the following redirection facility that we already have in place:
http://forrest.apache.org/docs/ redirects to the "current" set.
http://forrest.apache.org/docs/dev/ redirects to the "in-development" set.

Verify the .htaccess file.

There is also the documentation for each plugin.

> consider using the head/link rel=canonical for non-current sets of docs
> -----------------------------------------------------------------------
>
>                 Key: FOR-1253
>                 URL: https://issues.apache.org/jira/browse/FOR-1253
>             Project: Forrest
>          Issue Type: Improvement
>          Components: Plugin: internal.dispatcher, Skins (general issues)
>            Reporter: David Crossley
>             Fix For: 0.10-dev
>
>
> We have three sets of online documentation: for the current release, for the past release, and for the in-development set. Search engines need to be assisted to prefer the current set.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)