-
Notifications
You must be signed in to change notification settings - Fork 322
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
Google results for https://www.scala-lang.org/ are marked with a "13 Feb 2015" timestamp #1730
Comments
I don't see sitemap in rsync output (https://scala-webapps.epfl.ch/jenkins/view/All/job/production_scala-lang.org-builder/8287/console ). I wonder if the sitemap isn't generated for some reason. |
@fsalvi is this an area where you have any insight? |
I saw this website: I'll have a deeper look next week. |
Well, I didn't see anything wrong server-side which could lead to this result. |
use Google site to refresh? |
Ok, there's no doubt it's because of the scala version seen on the page. The html source code only contains: "Scala 2.13.16 and older releases" |
@fsalvi is there no way to make this deterministic? do we have no choice but to try to outwit the weird guessing they're doing? |
As suggested, we could try either to change a bit the text (eg add "Version 2....", or to try the publication-dates: I guess the easiest would be to try to just add "Version 2..." to see if it changes something. |
FYI - sbt's website generates sitemap during the website build process (e.g. sbt/website#412), which puts <?xml version='1.0' encoding='UTF-8'?>
<sitemapindex xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
<sitemap>
<loc>https://www.scala-sbt.org/sitemap.xml.gz</loc>
<lastmod>2025-02-03</lastmod>
</sitemap>
<sitemap>
<loc>https://www.scala-sbt.org/1.x/sitemap.xml.gz</loc>
<lastmod>2025-02-03</lastmod>
</sitemap>
</sitemapindex> which in turn points to more sitemaps. |
as an easy first step, let's try not including the Scala 2 version number on the front page: #1762 |
It worked!! |
Usually only "blog posts" or "threads" get a timestamp in the results, but it seems the scala landing page was wrongly indexed as such.
It could have a negative effect on users seeing it in the search results for the first time, creating a false impression that the Scala language or website has not been maintained for a while.
One potential explanation could be that the landing page used to be a blog and the timestamp of "the newest article" was never removed by Google afterwards.
PS someone noticed that "Feb 13, 2015" could be a wild translation from the newest Scala 2 version, "2.13.15"
The text was updated successfully, but these errors were encountered: