docs.scala-lang icon indicating copy to clipboard operation
docs.scala-lang copied to clipboard

People are clicking into the 2.12 collections guide when searching for "Scala Map"

Open bishabosha opened this issue 3 years ago • 2 comments

https://docs.scala-lang.org/overviews/collections/maps.html is one of the most popular pages visited from google, however it covers content for the 2.12 collections, with a notice to click on the updated version (/overviews/collections-2.13).

Should we swap the state of things and make the 2.13 collections the default from https://docs.scala-lang.org/overviews/collections?

bishabosha avatar Feb 17 '22 10:02 bishabosha

We would need to

  • move the old collections guide to /overviews/collections-2.12
  • add a redirect_from directive to the “new” collections to make them available at /overviews/collections.

That being said, it is not clear to me why do people browse the 2.12 version. Is it because Google pointed them there, or because they actually want this version, and not the 2.13 version?

julienrf avatar Feb 17 '22 10:02 julienrf

That being said, it is not clear to me why do people browse the 2.12 version. Is it because Google pointed them there, or because they actually want this version, and not the 2.13 version?

from Plausible this page is visited from Google mostly, this is what you see actually:

Screenshot 2022-02-17 at 13 05 19,

so google is showing only the 2.12 collections guide, and then the sub link is the API docs

bishabosha avatar Feb 17 '22 12:02 bishabosha