What does Google say about SEO? /
Quick SEO Quiz

Test your SEO knowledge in 5 questions

Less than a minute. Find out how much you really know about Google search.

🕒 ~1 min 🎯 5 questions

Official statement

For Google to use a sitelink search box on your pages, you must specify the correct markup. If it is not detected properly or legibly, Google will instead use a site-specific query in standard search results.
13:05
🎥 Source video

Extracted from a Google Search Central video

⏱ 57:00 💬 EN 📅 11/08/2016 ✂ 10 statements
Watch on YouTube (13:05) →
Other statements from this video 9
  1. 2:05 Faut-il vraiment créer un contenu différent lors d'une migration de domaine pour éviter les pénalités ?
  2. 4:45 Faut-il vraiment faire une redirection 301 vers l'ancien domaine pour récupérer son indexation ?
  3. 8:46 AdWords améliore-t-il vraiment votre référencement naturel ?
  4. 10:10 Faut-il ignorer le score PageSpeed Insights pour le SEO ?
  5. 11:19 Faut-il rediriger vos anciennes versions de CSS et JS pour Googlebot ?
  6. 20:08 Faut-il vraiment dupliquer tout le contenu desktop sur mobile pour bien ranker ?
  7. 29:44 Comment Google choisit-il vraiment quelle URL indexer quand plusieurs versions d'une même page existent ?
  8. 32:44 Faut-il vraiment mettre nofollow sur tous les liens issus d'espaces membres payants ?
  9. 47:31 Le duplicate content est-il vraiment un problème pour votre référencement ?
📅
Official statement from (9 years ago)
TL;DR

Google displays a sitelink search box only if the schema.org markup is correctly implemented and detectable. If the markup is absent, malformed, or unreadable by Googlebot, the engine displays a standard site: query instead in the results. This statement underscores that control over this feature depends entirely on the technical quality of your implementation.

What you need to understand

What exactly is a sitelink search box?

The sitelink search box is the feature that shows a search field directly in Google's results, below your main site result. It allows users to initiate an internal search without even visiting your domain. This provides a visibility and user experience gain that is significant, especially for sites with a high volume of content.

This feature does not appear automatically. Google only activates it if your site incorporates the SearchAction markup in schema.org, which is readable and compliant. Without this markup, or if it is poorly implemented, Google switches to a simple standard site: query, which is less engaging and less distinctive.

Why might Google ignore your markup?

The reasons are numerous. The JSON-LD or microdata markup can be invalid, contain syntax errors, or point to a non-existent search URL. Google may also fail to detect the markup if it is injected with JavaScript after the initial rendering, in certain contexts where Googlebot fails to execute the JS.

Another common trap is the misconfigured query parameter. If your internal search URL does not work as expected, or if the placeholder {search_term_string} is not correctly replaced, Google will give up and display a standard site: query. This is a safeguard to avoid offering a broken feature.

What is the concrete difference for the user?

With a sitelink search box, the user types directly in the SERP and accesses your internal search results. It's your engine, your filters, your UX. With a site: query, Google displays its own filtered results on your domain, without going through your interface.

The distinction is important: the site: query does not take into account your business filters, facets, or promotions. It indexes what Google has crawled, not necessarily what you want to highlight. For an e-commerce site or a media outlet, losing this control is a disadvantage.

  • The SearchAction markup is mandatory to trigger the sitelink search box
  • Google switches to a site: query if the markup is absent or defective
  • The JSON-LD syntax must be valid and the search URL functional
  • JavaScript rendering can pose issues if the markup is not detected during the initial crawl
  • You lose control over the displayed results if Google uses a standard site: query

SEO Expert opinion

Is this statement consistent with observed practices?

Yes, it corresponds exactly to field observations. Sites without SearchAction markup never obtain a sitelink search box, even with a high volume of branded searches. Google does not guess your intention: it waits for an explicit signal. This is one of the few SERP features where control is 100% in the hands of the site.

However, there are cases where the markup is present and valid, but Google does not display the search box. [To verify]: it seems that Google also applies relevancy or search volume criteria before activating the feature, even if Mueller does not mention it here. A site that is rarely searched in branded terms may have perfect markup but never see the search box appear.

What nuances should be considered?

Mueller says "legibly," which is intentionally vague. Concretely, this means that the markup must be accessible at the first HTML rendering or in a JSON-LD script executed synchronously. If your SPA framework injects the schema.org after 2-3 seconds of client loading, Googlebot may miss the signal.

Another point: the target parameter of the search URL must be correctly formatted with the exact placeholder. Some sites still use {query}, {q}, or other non-compliant variants. Google expects {search_term_string}, period. An error on this detail and the entire implementation fails silently.

In which cases does this rule not apply?

For sites that do not have a functioning internal search engine, obviously. But be careful: some sites think that Google can display a search box even without an internal engine, based on the site: query. This is false. Without a valid internal search URL, there will never be a sitelink search box.

Another exception: sites with multiple language or geographic versions must implement the markup on each version. Google does not automatically propagate the configuration from a .fr version to a .com version. Each domain or subdomain must have its own markup, with the corresponding search URL.

Warning: If your internal search engine is indexed by Google (result pages accessible via crawl), you risk a conflict or partial de-indexing. Block these URLs in robots.txt or via noindex before implementing the SearchAction markup.

Practical impact and recommendations

What concrete actions should be taken to activate the sitelink search box?

The first step is to implement the SearchAction markup in JSON-LD in the of your homepage (and ideally on all main pages). Use the exact format recommended by Google, with the WebSite type, the potentialAction of type SearchAction, and the target formatted correctly.

Then test your implementation with the Google Rich Results Test or the URL Inspection tool in Search Console. Check that the markup is detected without errors and that the search URL works when you manually replace the placeholder with a test term. If the validator shows an error, fix it before proceeding further.

What errors should be avoided at all costs?

Do not place the SearchAction markup in an external JavaScript file loaded asynchronously. Google may fail to execute it or detect it too late. Prefer an inline JSON-LD script in the HTML, server-rendered if possible. This is the most reliable method to ensure detection on the first crawl.

Avoid also pointing to a search URL that returns a 404 or a redirect. Google sometimes tests these URLs before activating the feature. If your internal search engine is in staging, not publicly accessible, or protected by login, the sitelink search box will never appear. Ensure that the URL is publicly accessible and functional.

How can I check if my site is compliant and that Google has recognized the markup?

After deployment, request a reindexing of your homepage via Search Console. Wait a few days, then conduct a branded query using your brand name. If the sitelink search box does not appear, inspect the URL in Search Console and verify that Google has indeed detected the markup in the "Enhancements" tab.

If everything is valid but the search box still does not appear, it is likely a problem of search volume or perceived relevance. Google may decide that your site does not have enough prominence or branded traffic to justify the feature. In this case, it is impossible to force the display: it is an algorithmic decision that Mueller does not elaborate on.

  • Implement the JSON-LD SearchAction markup in the of the homepage
  • Use the exact placeholder {search_term_string} in the target URL
  • Validate the markup with the Rich Results Test tool
  • Check that the internal search URL is publicly accessible and functional
  • Block the indexing of internal search result pages (robots.txt or noindex)
  • Request a reindexing of the homepage after deployment
Activating the sitelink search box relies on a rigorous technical implementation of the SearchAction markup, with no margin for error. If you are not comfortable with schema.org or if your technical architecture complicates integration (SPA, multi-versions, custom search engine), this optimization can quickly become a headache. In this context, relying on a specialized SEO agency that masters these implementations and knows how to anticipate pitfalls can save you time and ensure a smooth deployment without missteps.

❓ Frequently Asked Questions

Le markup SearchAction doit-il être présent sur toutes les pages ou seulement sur la homepage ?
Google recommande de l'implémenter au minimum sur la homepage, qui est généralement la page affichée pour les requêtes brandées. Vous pouvez l'ajouter sur d'autres pages principales, mais c'est la homepage qui compte pour déclencher la sitelink search box.
Peut-on utiliser microdata au lieu de JSON-LD pour le markup SearchAction ?
Oui, les deux formats sont techniquement supportés, mais Google recommande explicitement JSON-LD pour sa simplicité et sa robustesse. En pratique, JSON-LD est plus facile à valider et à maintenir, surtout sur des CMS complexes.
Combien de temps faut-il pour que Google affiche la sitelink search box après implémentation ?
Cela dépend de la fréquence de crawl de votre site et du volume de recherches brandées. En général, comptez entre quelques jours et 2-3 semaines. Si rien ne change après un mois, vérifiez que le markup est bien détecté dans la Search Console.
Que se passe-t-il si mon moteur de recherche interne change d'URL après implémentation du markup ?
Vous devez mettre à jour le markup pour refléter la nouvelle URL target. Sinon, Google détectera que l'URL ne fonctionne plus et basculera sur une requête site: classique. Toute modification de l'URL de recherche nécessite une mise à jour du schema.
Est-ce que bloquer les pages de résultats internes en robots.txt empêche la sitelink search box de s'afficher ?
Non, au contraire. Google recommande de bloquer ces pages pour éviter qu'elles soient indexées. Le markup SearchAction indique à Google l'URL de recherche, mais cette URL n'a pas besoin d'être crawlée ou indexée pour que la fonctionnalité fonctionne.
🏷 Related Topics
Domain Age & History Links & Backlinks

🎥 From the same video 9

Other SEO insights extracted from this same Google Search Central video · duration 57 min · published on 11/08/2016

🎥 Watch the full video on YouTube →

Related statements

💬 Comments (0)

Be the first to comment.

2000 characters remaining
🔔

Get real-time analysis of the latest Google SEO declarations

Be the first to know every time a new official Google statement drops — with full expert analysis.

No spam. Unsubscribe in one click.