Quantcast
Channel: WordPress.org Forums » [Yoast SEO] Support
Viewing all articles
Browse latest Browse all 41972

Sitelink searchbox code for woocommerce sites

$
0
0

Replies: 0

Hi,
I was looking in the jsonld code Yoast created for my site and I noticed that the reference for the sitelink searchbox points to domain.com/?s={search_term_string}

However, my site is a store so my main search is for products.

The default ?s={search_term_string} shows results in a bad way. Is there a way to force the code to change to the correct format which would be in my case ?s={search_term_string}&post_type=product&product_cat=0 ?

Thank you in advance


Viewing all articles
Browse latest Browse all 41972

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>