Advanced SEO Techniques

Site Search JSON-LD

No items found.
Overview
Structured Data
Structured Data Overview
10:18
501
Adding JSON-LD Structured Data
Adv
16:29
502
Site Name JSON-LD
Adv
503
Articles, News & Blog Post JSON-LD
Adv
504
Site Search JSON-LD
Adv
506
Client Reviews JSON-LD
Adv
506
Breadcrumbs JSON-LD
Adv
508
FAQ Page JSON-LD
Adv
509
Q&A Page JSON-LD
Adv
510
Twitter Cards
Adv
601
Embedding Rich Text in JSON
702
Validating & Debugging JSON-LD
703
Technical SEO
Controlling the Robots
801
Sitemap.xml
802
robots.txt
803
Removing Pages from Google
804
Removing Your WEBFLOW.IO Staged Site from Google
805
More Advanced SEO Techniques
810
Voice Search
810
Influencing Google Search Appearance
Influencing Google's Search Appearance
901
No items found.

Are you using Webflow's Site Search feature?

Why not make it available on Google Search as a search box for your users as well?

With JSON-LD, you can make it easy for Google to find and to potentially display your Webflow Site Search directly in Google's search results.

Sitelinks search box in-use

Setup

Where to Place it?

I would place this piece of JSON+LD on all pages of the site, so put it in your site-wide custom code, in the HEAD section.

How to Configure it?

Here's what Sygnal's looks like;

<script type="application/ld+json">
{
    "@context": "https://schema.org",
    "@type": "WebSite",
    "name": "Sygnal Technology Group",
    "url": "https://www.sygnal.com/",
    "potentialAction": {
      "@type": "SearchAction",
      "target": { 
          "@type": "EntryPoint",
          "urlTemplate": "https://www.sygnal.com/search?query={query}"      
      },      
      "query-input": "required name=query"
    }
}
</script>

Key fields;

  • urlTemplate describes the search URL format. Webflow uses a querystring param named query. Change your domain name to your own.
  • query-input is new required field, which will error if you do not include it. It's purpose appears to be to describe the search input box itself, by name. Webflow's is hardcoded to query.
  • name defines the name of the site, and is not strictly needed for the search feature, however in most sites you'll include this anyway for best search results overall.

References

Google's documentation on sitelinks search box

https://support.google.com/webmasters/answer/7445569

https://search.google.com/test/rich-results

Table of Contents
Did we just make your life better?
Passion drives our long hours and late nights supporting the Webflow community. Click the button to show your love.