Advanced SEO Techniques

Site Search JSON-LD

Overview
Structured Data
Structured Data Overview
10:18
501
Adding JSON-LD Structured Data
16:29
502
Site Name JSON-LD
503
Articles, News & Blog Post JSON-LD
504
Site Search JSON-LD
506
Client Reviews JSON-LD
506
Breadcrumbs JSON-LD
508
FAQ Page JSON-LD
509
Q&A Page JSON-LD
510
Twitter Cards
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
Partially-Dynamic Headings
3:35
811
Full Site SEO Text Search
3:35
812
Influencing Google Search Appearance
Influencing Google's Search Appearance
901
No items found.
Published
November 11, 2022
Updated
in lightbox

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;

{
    "@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"
    }
}

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

FAQs

Answers to frequently asked questions.

Videos
No items found.
Table of Contents
Comments
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.