# 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.

Canonical: https://scaplet.com/schema/website

Guide Structured data · Identity

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 with [ChatGPT](https://chatgpt.com/?hints=search&q=Summarize%20https%3A%2F%2Fscaplet.com%2Fschema%2Fwebsite%20(%22WebSite%20schema%22)%20in%205%20bullet%20points%2C%20then%20tell%20me%20the%20one%20thing%20I%20should%20do%20next.) [Claude](https://claude.ai/new?q=Summarize%20https%3A%2F%2Fscaplet.com%2Fschema%2Fwebsite%20(%22WebSite%20schema%22)%20in%205%20bullet%20points%2C%20then%20tell%20me%20the%20one%20thing%20I%20should%20do%20next.) [Perplexity](https://www.perplexity.ai/search?q=Summarize%20https%3A%2F%2Fscaplet.com%2Fschema%2Fwebsite%20(%22WebSite%20schema%22)%20in%205%20bullet%20points%2C%20then%20tell%20me%20the%20one%20thing%20I%20should%20do%20next.) [![Google](/logos/ai/google-color.svg)AI Mode](https://www.google.com/search?udm=50&q=Summarize%20https%3A%2F%2Fscaplet.com%2Fschema%2Fwebsite%20(%22WebSite%20schema%22)%20in%205%20bullet%20points%2C%20then%20tell%20me%20the%20one%20thing%20I%20should%20do%20next.)

On this page

## 4 parts, 3 minutes.

1. [Use WebSite markup for one specific job 01](#use-website-markup-for-one-specific-job)
2. [A minimal site-name example 02](#a-minimal-site-name-example)
3. [Connect the site and organization without duplicating facts 03](#connect-the-site-and-organization-without-duplicating-facts)
4. [Validate the result 04](#validate-the-result)

_01_Worth knowing

## Use WebSite markup for one specific job

[Schema.org](/glossary/schema-markup)'s `WebSite` type describes a website as an [entity](/glossary/entity). Google's documented Search use is narrower: `WebSite` [markup](/glossary/structured-data) 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](/glossary/https) or www and non-www homepages duplicate each other, use the same markup on all of them, not just the canonical one.

_02_Check 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" }
```

_03_Good 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](/schema/organization) for organization identity and [WebPage schema](/schema/web-page) for the individual page node.

This is not a ranking switch

Google documents WebSite markup as a way to indicate a preferred site name. It does not promise that name will appear, create a special ranking boost, or make a site eligible for unrelated rich results.

_04_How 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.

_01_ Does 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.

_02_ Can 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. 01 [Site names in Google Search](https://developers.google.com/search/docs/appearance/site-names) developers.google.com · checked 2026-10-24
2. 02 [Sitelinks search box is removed](https://developers.google.com/search/blog/2024/10/sitelinks-search-box) developers.google.com · checked 2026-10-24
3. 03 [WebSite type](https://schema.org/WebSite) schema.org · checked 2026-10-24
4. 04 [Organization structured data](https://developers.google.com/search/docs/appearance/structured-data/organization) developers.google.com · checked 2026-10-24

## Keep learning

[All structured data](/schema)

[Learn WebPage schema Content](/schema/web-page) [Related JSON-LD Structured data](/glossary/json-ld) [Read next Dataset schema Data](/schema/dataset) [Do Run a free site audit Free, about two minutes](/site-audit)

Nearby in structured data
[VideoObject schema](/schema/video-object) [AggregateRating schema](/schema/aggregate-rating)

More in Content
[Article schema](/schema/article) [Author schema](/schema/author) [BlogPosting schema](/schema/blog-posting) [BreadcrumbList schema](/schema/breadcrumb-list) [ClaimReview schema](/schema/claim-review) [Course schema](/schema/course) [DefinedTerm schema](/schema/defined-term) [DiscussionForumPosting schema](/schema/discussion-forum-posting) [FAQPage schema](/schema/faq-page) [HowTo schema](/schema/how-to) [ItemList schema](/schema/item-list) [NewsArticle schema](/schema/news-article) [Paywalled content schema](/schema/paywalled-content) [ProfilePage schema](/schema/profile-page) [QAPage schema](/schema/qa-page) [Speakable schema](/schema/speakable) [WebPage schema](/schema/web-page) [WebSite schema](/schema/website)

Terms on this page
[Schema Markup](/glossary/schema-markup) [Entity](/glossary/entity) [Structured data](/glossary/structured-data) [HTTPS](/glossary/https)

Free · 2 minutes

## Tools point. Agencies advise. _This one ships._

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

[Audit my site free](/site-audit)

Free, no card 60 seconds Nobody will call you

- **46** fixes shipped without a ticket Brightpipe
- **0→7** ChatGPT citations in six weeks Paylane
