Free auditStart free
GuideStructured data · Identity

WebSite schema

Use WebSite JSON-LD on the homepage to state a preferred site name, keep the identity consistent, and skip retired sitelinks search box markup.

3 min
read
4
sources
Oct 24, 2026
updated
Scaplet Editorial Team
author
In one line

For Google site names, put one WebSite entity with name and canonical url on the domain or subdomain homepage. This indicates your preferred name; Google still chooses what to display. It does not create a sitelinks search box, which Google retired in 2024.

30-second check

Where does your site stand?

Four quick questions, then a straight answer.

1/4Have you checked your own site for this?
Summarize this page withChatGPTClaudePerplexityGoogleAI Mode
01Worth knowing

Use WebSite markup for one specific job

Schema.org's WebSite type describes a website as an entity. Google's documented Search use is narrower: WebSite markup on a domain or subdomain homepage can indicate your preferred site name. Google also considers the homepage title, headings, og:site_name, and other signals, so markup is a preference signal rather than a forced display setting.

Put it on the root homepage

https://example.com/ and https://news.example.com/ can each represent a site, and Google treats www and m subdomains as equivalent to the domain. A subdirectory such as /news/ cannot have a separate Google site name.

Use one `WebSite` entity per site

If the homepage already has one, add the name properties to that node instead of emitting a conflicting second copy.

Use the public name people recognize

Keep name, alternateName, the home page text, and brand references consistent. A generic keyword phrase is not a good site name.

Keep the homepage accessible

Google needs to crawl it to process the preference. If your HTTP and HTTPS or www and non-www homepages duplicate each other, use the same markup on all of them, not just the canonical one.

02Check it

A minimal site-name example

Use the canonical homepage URL and a real alternative name, such as a commonly used acronym. alternateName can also be a list, most preferred first. If your preferred name isn't selected, Google says adding your domain in lowercase (for example example.com) as an alternate gives it a backup. Do not add a SearchAction expecting a search box: Google began removing the sitelinks search box on November 21, 2024. Leftover sitelinks search box markup does no harm, and WebSite remains useful for site names.

Homepage WebSite entity
{
  "@context": "https://schema.org",
  "@type": "WebSite",
  "@id": "https://example.com/#website",
  "url": "https://example.com/",
  "name": "Example Workshop",
  "alternateName": "EW"
}
03Good to know

Connect the site and organization without duplicating facts

A site and the organization that operates it are related entities, but they are not interchangeable. A publisher may run multiple sites; a site may have no separate legal organization. If both entities are clearly identified, connect them with stable @id references in a graph and keep each node's properties on the entity they describe. Google's Organization guidance recommends placing that entity on the homepage or one organization page, not copying it everywhere. See Organization schema for organization identity and WebPage schema for the individual page node.
04How it works

Validate the result

  1. 01

    Check the homepage entity

    Confirm there is one WebSite node, that its canonical URL is the root homepage, and the name matches the visible brand.

  2. 02

    Use a vocabulary validator

    Google's Rich Results Test does not test site-name markup. Use Schema Markup Validator for syntax and inspect the rendered homepage source.

  3. 03

    Check Search after recrawl

    Search for the site name and inspect the displayed name after Google has recrawled. If it differs, compare the homepage title, headings, visible branding, and Open Graph site name for conflicts.

Questions

Asked a lot.

2 questions people ask next, answered from the sources on this page.

01Does WebSite schema add a Google search box?

No. Google began removing the sitelinks search box on November 21, 2024. WebSite markup still documents a preferred site name on the homepage.

02Can a subfolder have its own Google site name?

No. Google supports site names at the domain or subdomain level, not at a subdirectory such as example.com/blog/.

Sources · 4

Every fact, linked and dated.

Official docs first. The date is when we last opened each page.
  • google.com
  • schema.org
  1. 01Site names in Google Searchdevelopers.google.com · checked 2026-10-24
  2. 02Sitelinks search box is removeddevelopers.google.com · checked 2026-10-24
  3. 03WebSite typeschema.org · checked 2026-10-24
  4. 04Organization structured datadevelopers.google.com · checked 2026-10-24
Free · 2 minutes

Tools point. Agencies advise. This one ships.

Run the free audit, then approve the fixes. Every change can be undone.

Free, no card60 secondsNobody will call you
  • 46 fixes shipped without a ticket Brightpipe
  • 0→7 ChatGPT citations in six weeks Paylane