Disable proposing Google Search on empty results

When entering a search term which is not found the search results page at the bottom suggests me to search via Google. I dont want to promote Google and also its missleading to asume the closed-community content is searchable with a Google search.

Can you turn that off?

I am surprised that it is shown to you in a closed community. I think it should only appear if login_required is false.
This is what I see in my login-required forum:

yeah unfortunatelly we dont have login regquired = true but have nearly all categories limited to level1. (Idea behind is to have a friendly start page which basically shows public company news announcements).

But good to know that Discourse already observes this.

1 Like

You can hide the google search with css

.google-search-form {
    display: none;
}

To get rid of the β€œTry searching with Google instead:”[1] and β€œOr try searching with Google instead:”[2] you could replace the texts js.search.search_google and js.search.or_search_google with something like β€œ(Or) try searching with a different term.”


  1. for users who cannot start a new topic β†©οΈŽ

  2. for users who can start a new topic β†©οΈŽ

1 Like