How to show the search box for your site in Google

How to show the search box for your site in Google

How to show the search box for your site in Google

Today we will talk about how to show the search box for your site in Google search engine, and the method is simple
It is easy to add code to the home page of your site, but your site must be
Good ranking in the search engine with good reputation “Authority” and the process of adding exclusive content
  Periodically.

 

The search box will perform searches within your site, showing only the results that pertain to your site. You can show the previous search box whether you have a blog, forum or a regular site.

 

Initially add your site in the Google Custom Search Engine, after logging in with your Google Account, enter the site link and the language of the site and the name of the search engine and then press Create.

Copy the code and place it in a suitable place in your site, this code is a search engine will appear in your site, choose a suitable place for him in the head or footer or anywhere.

 

Then add the following code on your site's home page under the <head> <head /> tag

With the change of successful site links to the link to your site, and pay attention to change the target altogether, for example the search process in the successful site is on the link http://test.com/?s=seo, click on the link will show you the results of the search for seo, so We'll just take http://test.com/?s.

Then you have to change the search word to your site and you will find it after the placeholder in the source of your homepage as in the picture.

Move it as is and place it in Target and query-input.

After you finish, wait several days, adding good content periodically.