The Sitelinks Search Box Is Gone: What WebSite Schema Still Does
If your SEO plugin still has a setting called "sitelinks search box", or someone once told you to add WebSite schema so Google would show a search field under your result, here is the current position in two lines. Google stopped showing the search box from 21 November 2024. WebSite structured data is still worth having, because Google uses it to choose the site name shown above your results.
So the markup has not become useless. Its job has changed, and most small sites can tidy it up in about ten minutes. The facts below come from Google Search Central and schema.org, checked on 4 December 2026.
What Google actually announced
In its October 2024 post Farewell, Sitelinks Search Box, Google said usage of the feature had dropped over the ten years since launch, and that it would remove the visual element starting on 21 November 2024. The post also said:
- The change applies globally, in all languages and countries.
- It does not affect rankings or the other sitelinks element.
- Search Console's rich results report for the search box would be removed, and the Rich Results Test would stop highlighting the markup.
- You can remove the structured data, but there is no need to. Unsupported structured data like this will not cause issues in Search and will not trigger errors in Search Console reports.
The last point in the post is the one people skip. If you do remove the search box markup, note that site names use a variation of WebSite structured data, which is still supported. Delete the whole block in a hurry and you can take your site name preference with it.
Keep, nest or remove: what to do with your SearchAction
The search box was driven by a potentialAction of type SearchAction inside a WebSite node. schema.org still lists SearchAction on its WebSite type page, so it is valid vocabulary. Google simply no longer shows anything for it. Use this table to decide what to do with yours.
| What you find on your homepage | What to do | Why |
|---|---|---|
| One WebSite node with name, url and a working SearchAction | Leave it alone | Google says unsupported markup causes no issues, and the name and url still do their job |
| One WebSite node with a SearchAction pointing at a search page that no longer works | Remove only the potentialAction part, keep name and url | Markup should describe what is really on the site; the site name properties still matter |
| Two WebSite nodes, for example one from the theme and one from a plugin | Merge into one node and switch the spare off | Google asks you to nest site name properties in the same node and avoid an extra WebSite block |
| A SearchAction but no name property | Add name (and alternateName if useful) to that node | name and url are the two required site name properties |
| No WebSite markup at all | Add a minimal block for the site name, without SearchAction | Adding a search action now earns nothing in Google Search |
The job WebSite schema still does: your site name
Google's page on site names in Google Search explains that the site name is the name of the site a result comes from. It is different from the title link, which is specific to each page. Site names are generated automatically from content on your home page and references to the site elsewhere on the web.
Google says its system also considers og:site_name, the page title, headings and other text on the home page. But it is clear that WebSite structured data is the most important source if you want to state a preference. Google also says it cannot manually change an automatically chosen site name, so the markup and the consistency around it are your only levers.
The rules that catch small sites out:
- Home page only. The markup must sit on the home page of the domain or subdomain. You do not need it on every page.
- One name per site. A site means a domain or subdomain. Subdirectories such as
example.com/shopcannot have their own site name. Google treatswwwandmsubdomains as generally equivalent to the main domain. - Duplicate home pages need the same markup. If both HTTP and HTTPS, or www and non-www, versions exist, use the same structured data on all of them, not only the canonical one.
- The home page must be crawlable. If Google cannot reach it, it may not be able to generate a site name.
- Avoid generic names. Google's own example is that "Best Dentists In Iowa" is unlikely to be chosen unless it is an extremely well-recognised brand. Use a concise, commonly recognised name, such as the name without "Ltd".
A minimal homepage example
Here is all most small sites need. Swap in your own name, alternative and canonical home page address.
<script type="application/ld+json">
{
"@context": "https://schema.org",
"@type": "WebSite",
"name": "Bramblecomb Honey",
"alternateName": ["Bramblecomb", "bramblecomb.example"],
"url": "https://bramblecomb.example/"
}
</script>
The name and url properties are required. alternateName is recommended and can hold more than one value, listed in order of preference. Google suggests putting your domain in all lowercase as the last alternative, because its system will strongly consider that if your preferred name is not selected.
If you already have a schema graph that links an Organisation node to the WebSite node with @id references, keep that structure and add name and url to the existing WebSite node rather than pasting this as a second block. Our guide to Organisation schema and sameAs covers the Organisation side, so it is not repeated here.
Worked example: Bramblecomb Honey tidies up
Bramblecomb Honey is a made-up one-person shop selling honey and beeswax candles from a small website. Its owner opens the home page, uses View source and searches for "WebSite". Here is what she finds and what she changes.
Before
- The theme outputs a WebSite block with
"name": "Home"and a SearchAction aimed at/?s={search_term_string}. - The SEO plugin outputs a second WebSite block with
"name": "Bramblecomb Honey Ltd | Raw Honey and Beeswax Candles". - The page title says "Bramblecomb Honey: Raw Honey and Candles".
- Search results show the site name as "bramblecomb.example".
What she does
- Switches off the theme's structured data option, so only the plugin's block remains.
- In the plugin's settings, sets the site name to "Bramblecomb Honey" and adds "Bramblecomb" as the alternative.
- Leaves the plugin's SearchAction in place, because the site search works and Google says it causes no harm. If the shop's search had been broken, she would have turned that part off instead.
- Checks that the page title, the logo text and
og:site_nameall start with "Bramblecomb Honey". - Confirms that the www version of the home page redirects to the non-www version, so there is only one home page to mark up.
After
One WebSite node, one clear name used the same way across the home page, and a lowercase domain as the final fallback. She then waits for Google to recrawl, as explained below. Nothing here guarantees the new name will appear, but every signal Google lists now points the same way.
Testing, and what to do if the wrong name sticks
Do not use the Rich Results Test for this. Google says site names are not supported there, and since the search box retirement it no longer highlights that markup either. Instead:
- Run the home page through the Schema Markup Validator to catch syntax errors and duplicate WebSite nodes. Our guide to common schema validation errors helps if something comes back red.
- Use the URL Inspection tool in Search Console to confirm Google can reach the home page and that it is not blocked by robots.txt, noindex or a login.
- Ask Google to recrawl the home page.
Then be patient. Google says crawling can take anywhere from several days to several weeks, and internal pages may keep the old name for a while after the home page has updated.
If your preferred name still is not chosen, Google's suggested order is: check the markup and the other home page sources really do use the same name, check redirects work and Googlebot can reach the target, make sure HTTP and HTTPS versions agree, then add or improve alternateName. As a last resort, Google says you can set your lowercase domain as the name itself, and its system will generally select that.
Your own site search still matters
The search box in Google's results has gone, but the search box on your site has not. What people type into it tells you which pages they expected to find.
If you use Google Analytics 4, the enhanced measurement option for site search sends a view_search_results event whenever a results page loads. By default it looks for one of five URL parameters: q, s, search, query or keyword. If your site uses a different parameter, you can add it in the advanced settings. The search terms then show in the Search term dimension.
Bramblecomb's owner checks this once a month. When "candle wicks" kept appearing with no matching product, she added a short page about the wicks she uses. That is a better use of ten minutes than any search box markup.
The short version
- The sitelinks search box has gone from Google Search since 21 November 2024. Nothing you add will bring it back.
- Existing SearchAction markup is harmless. Remove it only if it is broken or you are tidying a duplicate.
- Keep one WebSite node on your home page with
name,urland, ideally,alternateName. - Make the name match your title, logo and
og:site_name. - Test with the Schema Markup Validator, not the Rich Results Test, then request a recrawl and allow a few weeks.
If you are on WordPress and want to control this markup without stacking up plugins, see our guide to adding schema markup to WordPress without extra plugins. For the navigation trail that often sits alongside it, see breadcrumb schema for small sites.
Last reviewed 4 December 2026 against Google Search Central ("Farewell, Sitelinks Search Box" and "Site names in Google Search"), schema.org's WebSite type and Google Analytics Help ("Enhanced measurement events").