How to create google site search to your website

Google site search or google custom search is a simple way to create high level search effects to your website.Google provides the custom search engine to your website to help your visitors to find the information they're looking for. Google custom search is different from google web search, Google custom search provides the result only from your website based on the keywords entered by the customer.

Here we will see the step by step how to implement google custom search your website. Google also provides various of search techniques through the search engine. below is the simple search technique to get the search results from your website.

How to implement google custom search your website:

<form action="" class="searchform" method="get"

name="searchform" target="_blank">
<input name="sitesearch" type="hidden" value="">
<input autocomplete="on" class="form-controls search" name="q"

placeholder="Search in" required="required"  type="text">
<button class="button" type="submit">Search</button>

But the above code display the search result in the google search engine. If you want to display the search result with in the website you should follow the below steps. This shows the search result in popup window.

Step1: Open and Login Google Account.

Step2: Click Add Button you can get the following page

Step3: Add your website url in sites to search field

Step4: Click Create button you can get the below mentioned screenshot page

 Step5: Click Receive Code Button you can get the below script , you should add this code wherever you want the search box

If you want to customize the search box in different manner, you can go the look and feel tab in the left hand side and you can get the more option to customize the search box. you want the more options and documents you can visit this page 

I hope this post is very useful...

Post a Comment