All Low add-ons are now owned by EEHarbor. Read the blog post.

Support archive

Low Google Search - How to refine by specific section/channel

Rachael Barone 14 May 2014 18:20 question, complete

Client wants two search function on their site, (1) for entire site (2) for only entries in the blog. They have signed up for Google Site Search for their entire site and added "www.clientsite.com/*" to their Google Account.

Is there a way with Low Googlesearch to add a parameter that limits the search function to only search entries from "www.clientsite.com/blog/*" without having to add and pay for additional search queries?

Because they are already paying to search the entire site, I feel there should be something to limit it to one channel.

Replies

  1. Low 15 May 2014 07:25

    Google searches the output of a site, so it cannot distinguish channels. It can distinguish paths, so if you only want to search a specific path, you'll have to use Google's search operators.

    Right now, Low GoogleSearch doesn't set any of these operators automatically. However, you could use JavaScript to add it. For the blog search form, use the onsubmit event handler to add "site:clientsite.com/blog" to the search keywords.