Skip to content
This repository

Redirects/canonical to latest versions #85

Ocramius opened this Issue · 1 comment

2 participants

Marco Pivetta Frank Brückner
Marco Pivetta

Link building to documentation is currently broken because docs have the version number of the framework in the url:

  • http://foo/bar/2.0/page.html
  • http://foo/bar/2.1/page.html

While this is great to be able to have documentation relative to the specific version of zf in use, it's also a big problem, because we are basically breaking search results/query on Google.

My solution involves shameless stealing of ideas from the Symfony folks, who did great work on this. They basically redirect the users to a fixed URL for the latest version:

  • - stays
  • -> redirects to

Also, a warning should be displayed for older doc versions, and a <link rel="canonical" href="..."/> should be rendered, always pointing to the latest version of the page.

This may look like pointless SEO optimization, but if this is not happening soon, searching for docs may become a mess very quickly :)

Ping @Freeaqingme @robertbasic @ezimuel

Frank Brückner

Very good point! :+1:

Frank Brückner froschdesign referenced this issue in zendframework/zf2

update userguide manual link #5707

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.