Add structured data to the homepage
Why it matters
Structured data is a small block of code that tells search engines who is behind the site, for example the name of the organization and the site. It can improve how your name and logo appear in search results, but it does not change rankings by itself.
The fix
- Add a JSON-LD script with Organization and WebSite data to the homepage. Use your real name, address of the logo (at least 112 by 112 pixels) and social profiles, and only describe things that are on the page.
- Check it with the Schema Markup Validator (validator.schema.org), which checks any schema.org type. Google's Rich Results Test only covers the types Google shows as rich results. Fix the errors they report.
html
<script type="application/ld+json"> { "@context": "https://schema.org", "@graph": [ { "@type": "Organization", "@id": "https://example.com/#organization", "name": "Example company", "url": "https://example.com/", "logo": "https://example.com/img/logo-512.png", "sameAs": [ "https://www.linkedin.com/company/example", "https://x.com/example" ] }, { "@type": "WebSite", "@id": "https://example.com/#website", "url": "https://example.com/", "name": "Example company", "publisher": { "@id": "https://example.com/#organization" } } ] } </script>
The examples use example.com. Replace it with your own domain.
Related
- Reported by the Indexability check
- Remove the noindex tag from the homepage
- Remove the noindex header from the homepage
- Let search engines crawl the homepage
- Resolve the noindex that robots.txt hides
- Find out why Google cannot index the homepage
- Fix the error status on the homepage
- Remove the nofollow instruction from the homepage
- Fix the broken structured data on the homepage
Scan your domain to see whether this applies to you.