I want the search bar to search only my site. Can I get some help with how to do that?
Search bar that searches my site only
1 reply · opened Apr 29, 2019
PpamelabeaversonApr 29, 2019
SSemicolon WebSTAFFApr 29, 2019
Hello,
Canvas uses Google Custom Search: https://cse.google.com/cse/ for the Search functionality for your Website. To setup your Google Custom Search, you will have to add your cx key in the search.html File. Login to Google Custom Search to get your Search Engine cx key. After obtaining your cx key, Open the search.html and simply change the cx value:
var cx = 'your-cx-value-here';This will definitely work fine. Hope this Helps!
Let us know if we can help you with anything else or if you find any further issues.
Have the same question, or something new?
Sign in to the Canvas dashboard to reply or open your own topic. Canvas owners get direct help from the SemiColonWeb team.
Reply on the dashboard