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

Better SEO for "Scala spec"

Open steinybot opened this issue 4 years ago • 4 comments
trafficstars

Being a lazy Googler I search for "Scala spec" instead of "Scala specification" or "Scala language specification". This only returns the archived 2.11 spec from https://scala-lang.org/files/archive/spec/2.11/.

Searching for "Scala specification" will show that Google has ranked the archive spec higher than the latest one (perhaps not much can be done about this if there are too many inbound links to it).

Pretty minor problem but I've hit it enough times recently that it bugged me enough to raise an issue about it.

steinybot avatar Mar 08 '21 19:03 steinybot

https://developers.google.com/search/docs/fundamentals/seo-starter-guide

May be we can improve content to make sure that google identifies this better view-source:https://scala-lang.org/files/archive/spec/2.11/

<html>
--
  | <head>
  | <meta http-equiv='Content-Type' content='text/html; charset=utf-8' />
  |  
  | <link rel="icon" type="image/png" href="public/favicon.ico">
  | <link rel="shortcut icon" type="image/png" href="public/favicon.ico">
  |  
  | <script src="https://code.jquery.com/jquery-3.4.1.min.js"></script>
  | <title>Scala Language Specification</title>
  |  
  | <link rel="stylesheet" type="text/css" href="public/stylesheets/screen.css">
  | <link rel="stylesheet" type="text/css" href="public/stylesheets/screen-toc.css">
  | <link rel="stylesheet" type="text/css" href="public/stylesheets/fonts.css">
  | </head>
  |  
  | <body>
  | <header>
  | <div id="header-main">
  | <img id="scala-logo" src="public/images/scala-spiral-white.png" />
  | <span id="title">Scala Language Specification</span>
  | <a id="github" href="https://github.com/scala/scala/tree/2.11.x/spec"><img src="public/images/[email protected]" alt="Edit at Github"></a>
  | </div>
  | <div id="header-sub">Version 2.11</div>
  | </header>

<html>
<head>
  <meta http-equiv='Content-Type' content='text/html; charset=utf-8' />

  <link rel="icon" type="image/png" href="[public/favicon.ico](https://scala-lang.org/files/archive/spec/2.11/public/favicon.ico)">
  <link rel="shortcut icon" type="image/png" href="[public/favicon.ico](https://scala-lang.org/files/archive/spec/2.11/public/favicon.ico)">

  <script src="https://code.jquery.com/jquery-3.4.1.min.js"></script>
  <title>Scala Language Specification</title>

  <link rel="stylesheet" type="text/css" href="[public/stylesheets/screen.css](https://scala-lang.org/files/archive/spec/2.11/public/stylesheets/screen.css)">
  <link rel="stylesheet" type="text/css" href="[public/stylesheets/screen-toc.css](https://scala-lang.org/files/archive/spec/2.11/public/stylesheets/screen-toc.css)">
  <link rel="stylesheet" type="text/css" href="[public/stylesheets/fonts.css](https://scala-lang.org/files/archive/spec/2.11/public/stylesheets/fonts.css)">
</head>

<body>
<header>
  <div id="header-main">
  <img id="scala-logo" src="[public/images/scala-spiral-white.png](https://scala-lang.org/files/archive/spec/2.11/public/images/scala-spiral-white.png)" />
  <span id="title">Scala Language Specification</span>
  <a id="github" href="https://github.com/scala/scala/tree/2.11.x/spec"><img src="[public/images/[email protected]](https://scala-lang.org/files/archive/spec/2.11/public/images/[email protected])" alt="Edit at Github"></a>
  </div>
  <div id="header-sub">Version 2.11</div>
</header>

preveen-stack avatar May 31 '23 05:05 preveen-stack