1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

How to get this search bar show up in google results for clients website ?

Discussion in 'White Hat SEO' started by pulkitseo, Jun 17, 2016.

  1. pulkitseo

    pulkitseo Senior Member

    Joined:
    Apr 25, 2013
    Messages:
    1,054
    Likes Received:
    136
    Hello All,

    Can anyone tell how to get similar search bar on my clients website (traffic 8,00,000 visits per month) in google search

    upload_2016-6-17_20-8-51.png

    Thanks
     
  2. pulkitseo

    pulkitseo Senior Member

    Joined:
    Apr 25, 2013
    Messages:
    1,054
    Likes Received:
    136
    Anyone in BHW that can guide ?
     
  3. Zwielicht

    Zwielicht Moderator Staff Member Moderator Jr. VIP

    Joined:
    Aug 31, 2013
    Messages:
    7,699
    Likes Received:
    13,837
    Gender:
    Male
    Occupation:
    Death
    Location:
    Riverside, California
    Home Page:
    BAM!
    https://searchenginewatch.com/sew/h...rch-box-to-appear-in-my-site-s-search-results

    I haven't tried it myself, but it's supposedly just this schema script (change the target URL).

    Code:
    < script type=”application/ld+json”>
    
    {
    
    “@context”: “http://schema.org”,
    
    “@type”: “WebSite”,
    
    “url”: “https://www.example.com/”,
    
    “potentialAction”: {
    
    “@type”: “SearchAction”,
    
    “target”: “https://query.example.com/search?q={search_term_string}”,
    
    “query-input”: “required name=search_term_string”
    
    }
    
    }
    
    < /script>
    I'll probably do this to my own site just to test it.
     
    • Thanks Thanks x 1
  4. pulkitseo

    pulkitseo Senior Member

    Joined:
    Apr 25, 2013
    Messages:
    1,054
    Likes Received:
    136
    Where should i put this code ?

    Tnx
     
  5. justay

    justay Newbie

    Joined:
    Jan 29, 2016
    Messages:
    19
    Likes Received:
    0
    Put the code on your homepage
     
  6. pulkitseo

    pulkitseo Senior Member

    Joined:
    Apr 25, 2013
    Messages:
    1,054
    Likes Received:
    136
    Home page where ?
    in header, before body, footer where ?
     
  7. justay

    justay Newbie

    Joined:
    Jan 29, 2016
    Messages:
    19
    Likes Received:
    0
    footer is better