Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Better SEO for "Scala spec" #1222

Open
steinybot opened this issue Mar 8, 2021 · 1 comment
Open

Better SEO for "Scala spec" #1222

steinybot opened this issue Mar 8, 2021 · 1 comment

Comments

@steinybot
Copy link

steinybot commented Mar 8, 2021

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.

@preveen-stack
Copy link

preveen-stack commented May 31, 2023

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>

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants