Official statement
Other statements from this video 9 ▾
- 2:05 Faut-il vraiment créer un contenu différent lors d'une migration de domaine pour éviter les pénalités ?
- 4:45 Faut-il vraiment faire une redirection 301 vers l'ancien domaine pour récupérer son indexation ?
- 8:46 AdWords améliore-t-il vraiment votre référencement naturel ?
- 10:10 Faut-il ignorer le score PageSpeed Insights pour le SEO ?
- 11:19 Faut-il rediriger vos anciennes versions de CSS et JS pour Googlebot ?
- 20:08 Faut-il vraiment dupliquer tout le contenu desktop sur mobile pour bien ranker ?
- 29:44 Comment Google choisit-il vraiment quelle URL indexer quand plusieurs versions d'une même page existent ?
- 32:44 Faut-il vraiment mettre nofollow sur tous les liens issus d'espaces membres payants ?
- 47:31 Le duplicate content est-il vraiment un problème pour votre référencement ?
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.
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
❓ Frequently Asked Questions
Le markup SearchAction doit-il être présent sur toutes les pages ou seulement sur la homepage ?
Peut-on utiliser microdata au lieu de JSON-LD pour le markup SearchAction ?
Combien de temps faut-il pour que Google affiche la sitelink search box après implémentation ?
Que se passe-t-il si mon moteur de recherche interne change d'URL après implémentation du markup ?
Est-ce que bloquer les pages de résultats internes en robots.txt empêche la sitelink search box de s'afficher ?
🎥 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 →
💬 Comments (0)
Be the first to comment.