Skip to content

How to keep /search out of Google while still using SearchAction

How to keep /search out of Google while still using SearchAction
  1. Leave search robots as noindex, follow.
  2. Keep the GET form name=q.
  3. WebSite JSON-LD already points at /search?q={search_term_string}.
  4. Do not sitemap result pages.
  5. Do not canonicalize search to the homepage.

5 replies

Campus note: we added the course entity after step 2. Worked.

Permalink

Bookmarking. The 'do not delete permalinks' line needs to be in onboarding too.

Permalink

We followed it on a Friday deploy. HowTo steps showed up in View Source.

Permalink

Printed this for volunteer mods. Step 3 is the one people skip.

Permalink

Thanks — leaving this up for the next team that searches the same string.

Permalink

Weekly winners

How to keep /search out of Google while still using SearchAction

  1. Leave search robots as noindex, follow.
  2. Keep the GET form name=q.
  3. WebSite JSON-LD already points at /search?q={search_term_string}.
  4. Do not sitemap result pages.
  5. Do not canonicalize search to the homepage.

Replies 5

Priya Nair

@priya_data

Campus note: we added the course entity after step 2. Worked.

Elena Rostova
ModMember

@elena_support

Bookmarking. The 'do not delete permalinks' line needs to be in onboarding too.

Leo Mensah

@leo_ops

We followed it on a Friday deploy. HowTo steps showed up in View Source.

Nia Okonkwo

@nia_campus

Printed this for volunteer mods. Step 3 is the one people skip.

Priya Nair

@priya_data

Thanks — leaving this up for the next team that searches the same string.

Join the conversation

Sign in or create an account to share your thoughts, solutions, or feedback.