Jump to content

Recommended Posts

Posted (edited)

Invision has SearchAction implemented, but the search box does not appear in Google results.

Could contain: Page, Text

According to Google's documentation, it should be like this:

<script type='application/ld+json'>
    {
   "@context": "http://www.schema.org",
    "publisher": "https://invisioncommunity.com/#organization",
    "@type": "WebSite",
    "@id": "https://invisioncommunity.com/#website",
    "mainEntityOfPage": "https://invisioncommunity.com/",
    "name": "Invision Community",
    "url": "https://invisioncommunity.com/",
      "potentialAction": {
        "@type": "SearchAction",
        "target": {
          "@type": "EntryPoint",
          "urlTemplate": "https://invisioncommunity.com/search/?q={query}"
        },
        "query-input": "required name=query"
      }
    }
</script>

not like this:

<script type='application/ld+json'>
{
    "@context": "http://www.schema.org",
    "publisher": "https://invisioncommunity.com/#organization",
    "@type": "WebSite",
    "@id": "https://invisioncommunity.com/#website",
    "mainEntityOfPage": "https://invisioncommunity.com/",
    "name": "Invision Community",
    "url": "https://invisioncommunity.com/",
    "potentialAction": {
        "type": "SearchAction",
        "query-input": "required name=query",
        "target": "https://invisioncommunity.com/search/?q={query}"
    }
}	
</script>
Edited by SeNioR-
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...