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

Google search for 'scala' results, at least in some locations, highlights a moderate-quality and unflattering user question thread right under the main language page #1731

Open
Ichoran opened this issue Jan 13, 2025 · 5 comments

Comments

@Ichoran
Copy link

Ichoran commented Jan 13, 2025

This is a rather unfortunate and unhelpful first sub-result returned on searching 'scala' on Google:

image

I don't know if there's a good way to de-emphasize this, but it's not the most essential information one wants to know when looking for Scala (even if one is taking a negative view of it).

@keynmol
Copy link

keynmol commented Jan 13, 2025

Btw, where does the link lead to?

Note that in UK this is not the case
CleanShot 2025-01-13 at 20 13 43@2x

@lrytz
Copy link
Member

lrytz commented Jan 13, 2025

The problem reproduces for me. It links to https://users.scala-lang.org/t/why-scala-is-not-popular/9687, perhaps that link was shared and became popular on some platform? Here are all forum threads sorted by view count, the one in question is at position 9 https://users.scala-lang.org/latest?ascending=false&order=views.

@He-Pin
Copy link

He-Pin commented Jan 13, 2025

Add
<meta name="last-modified" content="2025-01-13"> to header or

add to sitemap.xml with

<?xml version="1.0" encoding="UTF-8"?>
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
   <url>
      <loc>https://www.scala-lang.org</loc>
      <lastmod>2025-01-13</lastmod>
      <changefreq>daily</changefreq>
   </url>
</urlset>

or refresh with google search console.

@SethTisue
Copy link
Member

@He-Pin did you mean to leave that comment on #1730?

@fsalvi
Copy link
Contributor

fsalvi commented Jan 14, 2025

We could disallow this page in robots.txt to remove it from google index. But I'm not sure it's the best approach.

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

6 participants