You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
To indicate your site name preference, add WebSite structured data to your home page. Our site name system will also consider content in og:site_name, <title>, heading elements, and other text on a home page. However, WebSite structured data is most important, if you want to specify a preference.
Without a WebSite structured data, often the result is only a URL, not the name of the site. See a complaint.
See an example from searching one of the project that I maintain:
Compared with a typedoc result:
Note the text above the URL: One is the domain name of the site, one is the name of the site.
Search results from typedoc.org do show TypeDoc because the home page (not generated from typedoc) fills the og:site_name field:<meta property="og:site_name" content="TypeDoc Documentation Generator" />
Suggested Solution
Add a WebSite structured data to the home page of generated doc.
The text was updated successfully, but these errors were encountered:
Search Terms
structured data, search engine
Problem
Google primarily uses the WebSite structured data to determine the name of the site shown in search results:
Without a
WebSite
structured data, often the result is only a URL, not the name of the site. See a complaint.See an example from searching one of the project that I maintain:
Compared with a typedoc result:
Note the text above the URL: One is the domain name of the site, one is the name of the site.
Search results from typedoc.org do show TypeDoc because the home page (not generated from typedoc) fills the
og:site_name
field:<meta property="og:site_name" content="TypeDoc Documentation Generator" />
Suggested Solution
Add a
WebSite
structured data to the home page of generated doc.The text was updated successfully, but these errors were encountered: