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 ALLCARSGOB

Rules for Bengali Typing in PDF (Bijoy Layout)

Bijoy is the most popular layout for Bangla typing. The layout was developed by Mostafa Jabbar. He is the pioneer of Bangla typing in computer. More than 90% people use his Bijoy layout for Bangla typing. Today, I'm gonna share a PDF file with you that contains the Bijoy Keyboard layout with English fonts! If your keyboard doesn't have bengali fonts then you can print this PDF file to know where the bengali fonts are located in your keyboard. Additionally this file contains all the necessary rules and tips which are essential for Bangla Typing.  Now there are many other software available for Bangla Typing Layout. Such as Avro Easy, Unicode, Unibijoy etc. And there rules are also somewhat different from Bijoy. And some of their layouts follow the same rules like Bijoy. Hopefully this PDF file will support most of the rules when a layout is similar to Bijoy Layout.  Click to enlarge the image Download the PDF file from the button below. Follow

Download Puzzle Flash Game - Save Them

Hey Flash Game Lovers! Today you're getting an amazing puzzle game - Save Them! It's a flash game and the download size is only 382 KB. In this game, you have to move 3 missionaries and 3 cannibals from one side to another through a boat. In any side, if the number of cannibals is more than the number of missionaries, then cannibals will eat the missionaries!  Download Save Them Download the game from the above link. It's a zipped file. Download size is only 382 KB! After downloading the game, you have to unzip it first. Then double click on the SaveThem to start the game.  How to Play? After starting the game, you will get the instruction. You have to make sure that in no side, the number of cannibals is not more than the number of missionaries. This is your only challenge. You have to take them from left side to the right side of the lake through a boat.  Press on a character to jump to the boat. Thus you can take any two of them a