# Missing WebSite structured data for site name

> Google uses WebSite structured data to determine the preferred site name to display in search results. Site names are supported at the domain and...

Source: https://seocode.io/checks/site-name-schema

[All checks](https://seocode.io/checks) / Structured data

Google uses WebSite structured data to determine the preferred site name to display in search results.

Info `site-name-schema`

In SEOCode's checks since 9 May 2026

- [Add to GitHub](https://github.com/apps/seocode-pr-check/installations/new)

- [Read the docs](https://seocode.io/docs)

## Why this matters.

Google uses WebSite structured data to determine the preferred site name to display in search results. Site names are supported at the domain and subdomain level (not subdirectory level) and are now available in all languages where Google Search is available. Without WebSite schema, Google will attempt to determine the site name automatically from page content, which may not match your preferred name. A previous issue preventing site names from propagating to internal pages has been resolved.

Runs on `.html` `.jsx` `.tsx` `.vue` `.svelte` · Advisory checks point at an improvement. They never block a merge.

## How to resolve it.

Add WebSite structured data to your homepage:

```
<script type="application/ld+json">{"@context":"https://schema.org","@type":"WebSite","name":"Your Site Name","url":"https://yourdomain.com"}</script>
```

This should be placed on the homepage only.

**SEOCode writes this fix for you**

On a pull request the fix arrives as a suggestion you can commit in one click, when the change is unambiguous on the line.

## Where this comes from.

- [01 · Site Namesdevelopers.google.com](https://developers.google.com/search/docs/appearance/site-names)

Using a framework? [Next.js](https://seocode.io/nextjs-seo) · [SvelteKit](https://seocode.io/sveltekit-seo) · [Nuxt](https://seocode.io/nuxt-seo)

## Related checks.

JSON-LD and the entity markup that earns rich results and grounds AI answers.

- [01 · No structured data (JSON-LD) found Info Structured data helps search engines understand your content and can unlock rich results (star ratings, breadcrumbs, etc.).](https://seocode.io/checks/missing-json-ld)

- [02 · Invalid JSON in JSON-LD block Critical A JSON-LD structured data block contains invalid JSON.](https://seocode.io/checks/invalid-json-ld)

- [03 · FAQ structured data is deprecated Warning Google has deprecated the FAQ rich result feature.](https://seocode.io/checks/faq-schema-deprecated)

- [04 · Breadcrumb rich results only appear on desktop Info Google has clarified that breadcrumb rich results only appear on desktop search results, not on mobile.](https://seocode.io/checks/breadcrumbs-desktop-only)

- [05 · Structured data not in initial HTML (JavaScript-generated) Warning Google recommends putting structured data markup (especially for ecommerce/product pages) in the initial HTML response for best results.](https://seocode.io/checks/structured-data-javascript-initial-html)

- [06 · Review schema missing comment or author requirements Info Google recommends implementing a review setup that only accepts ratings and reviews accompanied by both a review comment and the author's name.](https://seocode.io/checks/review-snippet-requires-comment)

[All 38 structured data checks](https://seocode.io/checks#schema)

## Every check, on every pull request.

SEOCode runs the full ruleset on each change and comments the fixes inline.

- [Add to GitHub](https://github.com/apps/seocode-pr-check/installations/new)

- [Get a website audit](https://seocode.io/audit?from=checks-cta)

Free for public repositories · no credit card
