---json
{
"canonical": ":semantic:site",
"description": "This article describe the site metadata that are added to the home page",
"name": "Website (Home) page",
"page_id": "lsdb6yi83twxv5qd3p3c1",
"title": "How to advertise your website information to be harvested by Search Engine"
}
---
====== ComboStrap Metadata - Website (Home Page) ======
===== About =====
''WebSite'' is a [[type|page type]] that shows information to [[docs:seo:seo|search engine]] over the whole website.
Generally, you would have only one page of this type and it would be your [[docs:page:system:index#website|website home page]].
''ComboStrap'' sets automatically a ''website'' [[type|type]] page on the [[docs:page:system:index#website|website home page]] if not set.
The exact definition of a ''website'' from [[https://schema.org/WebSite|semantic.org]] is a set of related web pages that are served from a single web domain.
===== Metadata =====
The following metadata are automatically added to a ''website'' page:
* ''url'', the base url
* ''name'', the [[docs:app:name|website name]]
* ''description'', the [[docs:app:tagline|tagline]]
* ''image'', the [[docs:app:logo|logo]] (as png)
You can set more metadata yourself:
* check the ''json-ld'' example and what kind of properties may be added at [[https://schema.org/WebSite|Schema.org WebSite]]
* and go to the [[docs:social:google|Google Rich Result page]] to know how.
===== Internal Search Engine =====
We add also the [[docs:app:search|internal search engine]] that implements the [[https://developers.google.com/search/docs/data-types/sitelinks-searchbox|links searchbox]] in [[docs:social:google|google rich result]].
Example of [[docs:social:google|google rich result]] that goes into your page to advertise your [[docs:app:search|internal search engine]]
{
"@context": "https://schema.org",
"@type": "WebSite",
"url": "http://example.com/",
"name": "My Application Name",
"potentialAction": {
"@type": "SearchAction",
"target": "http://example.com/doku.php?do=search&id={search_term_string}",
"query-input": "required name=search_term_string"
},
"image": "http://example.com/lib/exe/fetch.php?media=logo.png",
}