Last active
March 12, 2017 15:57
-
-
Save rintoug/ee81e8c4d0e9e116e908dbc7c4287024 to your computer and use it in GitHub Desktop.
Display A Search Box on your Site Search Results in Google search
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<script type="application/ld+json"> | |
{ | |
"@context": "http://schema.org", | |
"@type": "WebSite", | |
"url": "http://www.yoursite.com/", | |
"potentialAction": { | |
"@type": "SearchAction", | |
"target": "http://www.yoursite.com/?s={your_search_term}", | |
"query-input": "required name=your_search_term" | |
} | |
} | |
</script> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment