Arama kutusunu kendisi otomatik koymuyor Google.Eğer sitenizde resimdeki gibi aramalarda sitenizin ana linkinin altında başlıklar çıkıyorsa şu kodu kullanman lazım.WMT dan onay gelmesi lazım ayrıca aktif olması için;
JSON-LD
<script type="application/ld+json">{
"@context":"http://schema.org",
"@type":"WebSite",
"url":"https://www.example-petstore.com/",
"potentialAction":{
"@type":"SearchAction",
"target":"https://query.example.com/
search?q={search_term_string}",
"query-input":"required name=search_term_string"
}}</script>
Microdata
<divitemscopeitemtype="http://schema.org/WebSite">
<metaitemprop="url"content="https://www.example-petstore.com/"/>
<formitemprop="potentialAction"
itemscopeitemtype="http://schema.org/SearchAction">
<metaitemprop="target"content="https://query.
example-petstore.com/search?q={search_term_string}"/>
<inputitemprop="query-input"type="text"
name="search_term_string"required/>
<inputtype="submit"/>
</form></div>