Skip to main content

Add Google Custom Search to your Site


Google Custom Search Engines for Sites

Search engines run the world. Internet world is useless without search engines. You may argue that Facebook is not a search engine. But it's a big search engine. Facebook needs to search appropriate person, place or group for you! When you need to find something, we usually search this either in Google, Bing or Yahoo. But a tiny blog or website should also have a search engine. 


Most of the websites and even blogs have a search option. It makes easier to find something in your site. And it could be also helpful for you to search something on your site. In Marks PC Solution, there are more than 300 posts so far. Being the author of the site, sometimes I forget what topics are published here! So how do visitors get something without search box?


If you're using a blogger blog then you should be familiar with the default search box of blogger. You can easily add this from Layout tab through Add a Gadget option. But today I'm gonna talk about Google Custom Search. It's a nice tool by Google that lets you create a custom search engine for your blog or website. Now I'd like to show you the step by step procedure to create a custom search engine for your site. Before that, have a look at the custom search engine of Marks PC Solution- MPS. Let's begin -

  1. Visit and sign in to Google Custom Search Engine home. 
  2. Hit on the Add button to create a new engine.
  3. Enter your site's URL in the Sites to search box (ie. http://munnamark.blogspot.com)
  4. Choose your desired language
  5. Type a name in the Name box. (ie. Marks PC Search Engine)
  6. Hit on the Create button. Done! 
If everything is okay, you will get a confirmation message. 
  • Hit on the Get Code button to get your search engine script. 
  • Hit on the Public URL to view your search engine page.
  • Hit on the Control Panel to edit your search engine settings. 

How to Install? 

It's as simple as adding a JavaScript! 
  1. First you've to select your search engine. 
  2. Then go to Setup > Basics > Details > Get Code.
  3. Copy the script and Place it in your template properly.
Example: You've to place the code within the <body> </body> tag. See the structure below. And choose a proper location where you wanna setup the search box. 


<html>
<head>
<title>my site</title>
...
<head>
<body>
<div1>...</div1>
PASTE THE CODE HERE
<div2>...</div2>
</body>
</html>

And in blogger, installing the script is much easier. Simply go to the template. And then Add a JavaScript. I suggest you to place it either below the title or at the right side bar. 



Customization:

As this is a custom search, you can customize it as your wish. Let's customize - 

First go to the Google Custom Search Home. Select your search engine from here. Now you will see a control panel as the image below:


Google Custom Search Settings Panel

There are different options to customize your search engine. You can go to every option and change settings if necessary. First you can start with Setup option. Here you will get Basics, Make Money, Admin, Indexing etc. You can rename your search engine, give it a description, provide keywords, change language and add more sites to include in your search engine. 

In the Make Money option, you can add your AdSense account here. If people use your search box and hit on Ads by Google, you will be paid through AdSense. 

In Look and Feel option, you can change the layout and theme. In the customize option, you can change everything as you wish. In thumbnail option, you can choose whether pictures appears with search or not. 


I'm not going to extend the post. Because this post has already crossed 600 words! This is a simple topic. I would like to stop here. Explore the custom search engine page and find the features by yourself. And I'm waiting to reply any question from you. Don't forget to leave comments . . .


Stay with Marks PC Solution to get more interesting IT topics!


Comments

  1. Nice and Informative Post.

    You can also try my Post about Google Custom Search Engine..
    How To Add Google Custom Search Box In Your Site

    ReplyDelete
  2. Very simple for others to do, but for me, I'm starting to learn more things. Reading information into some authors helps me to gain knowledge to improve what will be the look of my site and most especially the content of my site.

    ReplyDelete

Post a Comment

Popular posts from this blog

GTA San Andreas Cheat Code (PDF)

After Vice City, San Andreas is the most popular game released by Grand Theft Auto (GTA). Usually GTA releases role playing game. San Andreas is such a game where you can act like a person. You can do everything. You have to take part in missions and complete them.  To make your missions easier, there are lots of cheat codes. If you can properly apply these codes, the tough parts of the game will be easier. Cheat codes are somewhat like keyboard shortcuts of computer programs.  I've shared 63 cheat codes below. There were more cheat codes in my collection, but I've omitted the less important cheats. Effects or result of the cheats are on the left side, and the codes are on the right side.  You can copy the following codes in your PC. And for your convenience, I've also uploaded a PDF file of these codes. You will find the download link at the bottom.  Effect Cheat Code Adrenaline Mode MUNASEF All Cars Explode ALL...

Office 2016 Activator (KMSPico 10.1.5)

It's been couple of months after the release of final version of Microsoft Office 2016. And maybe you're tired of finding for a working activator for this version. Today I'm gonna share Office 2016 activator with you - no more waiting!! About the Activator   Name: KMSPico 10.1.5 File Size: 3 MB (Approx) File Type: Zipped Folder 100% Neat & Clean - No virus! Activating Capacity . . . KMSPico 10.1.5 is successfully leading the KMS world for last few months. If everything is okay, success rate is 100%. This tool has been tested and verified by Marks PC Solution. With this tool, you can activate -  Office 2016, 2013 & 2010 Windows 10, 8.1 & 8 Hopefully this version will work for both 32 bit & 64 bit versions of Windows. Installing Office 2016 Collect/ Download Office 2016 Professional Plus from Microsoft or somewhere else. Install it as trial version without any key. Use the follow...

Joining Texts from Multiple Cells in Excel

  Programs like MS Excel is full of functions. There are many useful functions that we don't use or we don't know about. One of them is CONCATENATE. It means joining or linking. With this function you can join texts from multiple cells. Let's see how . . . Suppose you're working in an Excel Worksheet where you need to combine texts from different cells. I'm gonna show you an example. Let's consider the image below -    What do you see ? I've imputed First Name and Last Name. In Full Name column I've used the formula i.e. CONCATENATE. And in the last column I've added Mr. with the full name.    So how do you use this formula ? Here it is -  =CONCATENATE(A2," ",B2) Observe it carefully. You can add more than 02 cells with this functions. Here I've just used 02 cells. You may think what is this " " for ? You may notice that there is a space between the two i.e. " & ".  If you don't use " " then you...