View Full Version : How my site looking like this in google
tanzeelniazi
12-05-2014, 05:07 PM
I want to know when i type Vbulletin in google i see Search is coming i mean Search showing how the search showing see this
https://vborg.vbsupport.ru/external/2014/12/28.png
HM666
12-05-2014, 05:28 PM
You want the search field to show below your site listing? This is the wrong place to ask, that would be better asked over at Google somewhere. That has nothing to do with how your web site is set up its all Google only.
tanzeelniazi
12-05-2014, 06:02 PM
i found the article
https://developers.google.com/webmasters/richsnippets/sitelinkssearch
but i dont know how and where install the code anyone help please
HM666
12-05-2014, 06:22 PM
i found the article
https://developers.google.com/webmasters/richsnippets/sitelinkssearch
but i dont know how and where install the code anyone help please
Yeah if you cannot go by the instructions on this by yourself I'd suggest you hire someone to do this for you, this is not just an easy 1-2-3 kinda thing. You will need some custom php to do this as well a a search engine installed on the domain/site. I'm not sure that the built in search feature would work as a search engine for this, it may or may not.
tanzeelniazi
12-06-2014, 10:36 AM
how to do with custom php anyone know how please explain me i really need this :(
i know its little difficult but all big and with ranking sites have a search box please anyone know how to make this help me please
ozzy47
12-07-2014, 10:16 AM
Well it would be like this.
<script type="application/ld+json">
{
"@context": "http://schema.org",
"@type": "WebSite",
"url": "http://YOURSITE.com",
"potentialAction": {
"@type": "SearchAction",
"target": "http://YOURSITE.com/search.php?do=process&q={search_term_string}",
"query-input": "required name=search_term_string"
}
}
</script>Replacing YOURSITE.com with your actual site. Add the code to the end headerinclude template.
Will this work? I dunno, only time will tell.
How long will it take? I do not know that either.
But you can see it is working by going to http://YOURSITE.com/search.php?do=process&q=searchword
Replacing YOURSITE.com with your actual site and searchword with a actual search keyword.
tanzeelniazi
12-07-2014, 10:24 AM
Thanks Ozzy
1 more question
I have https can i replace http to https ?
But script is showing only http
also about searchkeyword.
I mean my site name is pandazoo.com its mean i enter the searchkeyword is pandazoo ? m right
ozzy47
12-07-2014, 10:28 AM
Sure, replace both instances of http with https.
No, you don't search for your site in the box, you do a search for words, like you would if you were on your site and doing a regular search. :)
tanzeelniazi
12-07-2014, 10:40 AM
no need to insert keyword in this line ?
"query-input": "required name=search_term_string"
and this line i change the keyword like this
"target": "http://YOURSITE.com/search.php?do=process&q=panda",
ozzy47
12-07-2014, 10:44 AM
No, leave "query-input": "required name=search_term_string" alone, I said nothing about changing that. That is the placeholder for whatever someone types in the box in the google search page.
No, leave "target": "http://YOURSITE.com/search.php?do=process&q={search_term_string}", alone, I said nothing about changing that either, besides the site name.
Only thing you need to change in the code is the YOURSITE.com address to your actual site.
tanzeelniazi
12-07-2014, 10:48 AM
Ooh i see need change the site name only
Ok thank you so much
ozzy47
12-07-2014, 10:51 AM
Was I not clear enough in post#6? I added what needed to be replaced in red, as to make it easier to see. What was it you did not understand?
tanzeelniazi
12-07-2014, 10:56 AM
sorry Ozzy my english is so weak
see my changes
https://vborg.vbsupport.ru/external/2014/12/1.png?1?5806
ozzy47
12-07-2014, 11:13 AM
It's cool, everyone can not speak English fluently.
As far as what you added, sure that looks fine. But like I said before, I do not know if that is going to work, or if it does, how long it will take.
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.