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

Closed
Ichoran opened this issue Jan 13, 2025 · 9 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

This comment has been minimized.

@SethTisue

This comment has been minimized.

@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.

@SethTisue
Copy link
Member

SethTisue commented Mar 4, 2025

Based on the advice at:

I did the following:

  1. I used the admin "Unlist" button on the thread in question, which should prevent it from being found when people use Discourse's own search functionality.
  2. Created a new category called "De-Indexed" and made the category visible only to logged-in users (trust level 0 or higher)
  3. Reassigned the topic in question to the new category

so it now shows up as:
Image

I confirmed that when you visit the site when you're not logged in, the category is invisible and if you try to visit the topic directly you get a "Oops! That page doesn’t exist or is private." page.

So very likely this should take care of it, but I'm leaving the ticket open until we've confirmed that the search results change in the next re-indexing.

@SethTisue
Copy link
Member

@fsalvi do you have access to the Google Search Console for scala-lang.org? Would you be able to follow the instructions at https://support.google.com/webmasters/answer/9689846?hl=en to fast-track the removal of this URL from their index?

@fsalvi
Copy link
Contributor

fsalvi commented Mar 4, 2025

Yes. I did it. I don't know how long it will take...

@SethTisue
Copy link
Member

🎉 (some of the new choices are a bit weird, but not actively harmful)

Image

thank you Fabien!

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