Ecommerce software home
Shopping Cart Software Forum for Ecommerce Templates
 
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

Find us on Facebook Follow us on Twitter View our YouTube channel
Search our site
Forum Search
Google Site Search
Author « Topic »  

wijayakusuma78
New Member

USA
93 Posts

Pre-sales questions only
(More Details...)

Posted - 03/22/2018 :  00:59:41  
Hi There
I try to put sitelinks Searchbox using markup structured data but not working
here guide from Google coding(JSON+LD)
<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>
Do you know what url target for search.php?
here the Guide sitelink google https://developers.google.com/search/docs/data-types/sitelinks-searchbox

Thanks in Advance


Hok

Andy
ECT Moderator

95440 Posts

Posted - 03/22/2018 :  02:26:02  
Hi Hok

It's not something I have used but the target there would be

"target": "http://www.yourstoreurl.com/search.php?pg=1&stext={search_term_string}",

Andy

Please feel free to review / rate our software

wijayakusuma78
New Member

USA
93 Posts

Pre-sales questions only
(More Details...)

Posted - 03/22/2018 :  04:47:46  
When I validity, that doesn't work, I replace words search_term_string with Samsung and enter on browser and that only bring to search page without results. So it's maybe something wrong with URL

Hok

Andy
ECT Moderator

95440 Posts

Posted - 03/22/2018 :  04:53:49  
I'm pretty sure that is correct, have a look here on our demo store

http://ectwp.com/search.php?pg=1&stext=shirt

Andy

Please feel free to review / rate our software

wijayakusuma78
New Member

USA
93 Posts

Pre-sales questions only
(More Details...)

Posted - 03/22/2018 :  05:21:20  
Mine has PHP, please inspect my home page website, I already follow that but won't work. Not show anything search box on Google. Also I have provided google Link guide in the previous message. For point#4 for validity search engine on target not working with url you have provided

Hok

Andy
ECT Moderator

95440 Posts

Posted - 03/22/2018 :  05:39:27  
Like I say, it's not a feature I've used or am familiar with but the syntax I gave you for the search target is correct for a PHP site.

Andy

Please feel free to review / rate our software

wijayakusuma78
New Member

USA
93 Posts

Pre-sales questions only
(More Details...)

Posted - 03/22/2018 :  06:18:59  
Hi Andy
i pull My URL here
https://fixboz.com/search.php?pg=1&stext={searchTerm}
when i validity should be like this
https://fixboz.com/search.php?pg=1&stext={iphone}
result: Sorry, no products matched your search.
the problem was this {}symbol not go a way
If i put manual URL like this https://fixboz.com/search.php?pg=1&stext=iphone
that will work but when i implement that coding into structured data testing tools that show error if i remove the symbol {}
Please i need someone to help me with this markup code search sitelink google
Thanks

Hok

Andy
ECT Moderator

95440 Posts

Posted - 03/22/2018 :  08:22:06  
Maybe Google don't allow two parameters after the search.php? but that is how it works on your ECT store so maybe they have some help there to tell you why it won't work with their sitelinks feature.

Andy

Please feel free to review / rate our software
  « Topic »  
Jump To:
Shopping Cart Software Forum for Ecommerce Templates © 2002-2022 ecommercetemplates.com
This page was generated in 0.02 seconds. Snitz Forums 2000