How To Integrate Google Custom Search into WordPress Blog and Make Money?

July 26, 2009 by Shanker Bakshi  
Filed under Blogging Resource, WordPress

Google custom search can be use as a money making tool if you know how to fix it properly with the soul of your WordPress blog theme. I must say that the default WordPress search engine barely serve the purpose, So I am giving you here a heck to replace that search engine with the Google Custom Search and also make some when your users search a quarry and click ads placed on Google Search Results page.

Here is the screen shot of how I integrated Google Custom Search into my WordPress self hosted blog.

SBDC Search Box2

Now let me explain how you can do this in seven small and easy steps:

STEP 1

Sign up for your Google AdSense Account if you haven’t registered yet here https://www.google.com/adsense/ . If you are using AdSense ads on your site the you can head over to google custom search via Google AdSense > AdSense Setup > AdSense for Search.

STEP 2

Fill in the necessary parameters like Search Type: whether you want your  users to search your site only, or a collection of sites, or the entire web. If you want users to search your sites then specify it in the given box with complete URL of a site or list of sites to search across. These can be individual pages, parts of sites, or entire sites.

STEP 3

After that choose search Box options, this is where you specify the look and the feel of your search box. You can shape your Google Custom Search Box.

STEP 4

Now this is the step which will integrate google custom search into your WordPress self hosted blog, so please read it carefully.

While selecting opening of search results page you need to select “Open results within my own site” and specify the URL like:

“http://www.yousite.com/search/”

Exclude inverted commas in URL above and replace “yoursite.com” with the domain name your site. This /search/ would be the page where we will display the search results within our blog.

Search Result Style

STEP 5

In this step you need to Specify where you want the AdSense ads to be placed in relation to search results. Your options are top and right, top and bottom and right. Well you can see that I have chosen AdSense ads to be appearing on Top and bottom of search results. Well if you wish you can manage these setting later on  through Google AdSense > AdSense Setup > Manage ads.

STEP 6

Now save your search Engine. Check the term and condition box (well if you agree). Name your search engine in the given box something like YOUR SITE SEARCH ENGINE and then hit the SUBMIT button.

You will get two boxes with codes. One is search box code. Paste this code in the page where you’d like your search box to appear. If you want it to appear in sidebar then follow this, WordPress Admin>Appearance>Widgets> select Text widget and then paste the code.

STEP 7

Now you need to paste the code given at the second box. For this you need to create a new page in your WordPress blog with the name “search”. This should exactly be the same as we typed while specifying the URL in step 4. For creating a new page go to WordPress Admin>pages> Add New. You can uncheck allow comments and allow pings boxes given below under “Discussion” option of your new page.

Select HTML window of your WordPress editor, paste the code and PULISH this page and you are done. To test type some keywords in Google Custom Search Box and see how the search results are appearing on your blog.

Now some of you may raise your eyebrows as I ask you to create a page with name “search” and publish it the step 7 above but you can’t see such a page on my page list in header, Is this going on in your mind right now? Well if you search google you will find enough information on how you can hide OR exclude some pages to appear in your site page list. If you wish you can use a WordPress Plugin for this purpose, Exclude Pages is a WordPress Plugin which adds a checkbox, “include this page in menus”, which is checked by default. If you uncheck it, the page will not appear in any listings of pages.

I hope this will help you integrate your Google Custom Search into your WordPress Self Hosted Blog, and also make some money when your users  click your AdSense ads appearing onsearch result page.

subscribe to Shanker Bakshi dot Com

Sign up to receive money making tips and other site updates. Subscribe to this blog via your favorite RSS feed reader or by entering your email address on the form below:

Google Buzz
Related Posts with Thumbnails

Related Posts

Comments

41 Responses to “How To Integrate Google Custom Search into WordPress Blog and Make Money?”

  1. How To Integrate Google Custom Search into WordPress Blog and Make Money? on July 26th, 2009 7:36 pm

    [...] More here:  How To Integrate Google Custom Search into WordPress Blog and Make Money? [...]

  2. Greg Ellison on July 26th, 2009 7:40 pm

    I just used your guide on integrating google search onto my blog and it worked out. I also like the plugin to exclude the pages from your header. Thanks Greg Ellison

    Reply

  3. How To Integrate Google Custom Search into WordPress Blog and Make … | bllogger on July 26th, 2009 11:46 pm

    [...] more:  How To Integrate Google Custom Search into WordPress Blog and Make … internet [...]

  4. How To Integrate Google Custom Search into WordPress Blog and Make … on July 27th, 2009 12:05 am

    [...] the original post here: How To Integrate Google Custom Search into WordPress Blog and Make … SHARETHIS.addEntry({ title: "How To Integrate Google Custom Search into WordPress Blog and Make [...]

  5. How To Integrate Google Custom Search into WordPress Blog and Make … – Income Opportunities on July 27th, 2009 12:10 am

    [...] more: How To Integrate Google Custom Search into WordPress Blog and Make … | More Categories: Adsense – Make Money Now Tags: Adsense – always – Home – [...]

  6. How To Integrate Google Custom Search into WordPress Blog and Make … | Neorack Script on July 27th, 2009 12:24 am

    [...] here to read the rest: How To Integrate Google Custom Search into WordPress Blog and Make … Share and [...]

  7. Ridiculous blogger on July 27th, 2009 12:32 am

    Thanks for posting this. I don’t know how to do this right.

    Reply

  8. How To Integrate Google Custom Search into WordPress Blog and Make … – Wordpress Plugins on July 27th, 2009 12:53 am

    [...] more from the original source: How To Integrate Google Custom Search into WordPress Blog and Make … | More Categories: Wordpress Plugin – wordpress plugin google Tags: [...]

  9. Blogging Tips on July 27th, 2009 3:23 am

    Hey bro

    For some weird reasons I can’t change the ads border to something else, even though it was set up as #FFFFFF (white).

    Any solution?

    Yan

    Reply

    Shanker Bakshi Reply:

    Yes you can do that,

    Just follow this link

    http://www.google.com/coop/cse/

    Then head over to “manage your existing search engines”

    Then click “Control Panel”

    Then choose “look and Feel” from Side menu.

    You can customize colors in your search results for:

    Border
    Title
    Background
    Text
    Links
    Visited Links
    Cached Link

    Reply

  10. Blogging Tips on July 27th, 2009 3:44 am

    I DID but some unknown reasons, the default blue border remained unchanged. Anyway, thanks bro. I just thought maybe there could be another option I know nothing of.

    Thanks!

    Yan

    Reply

    Shanker Bakshi Reply:

    More Over you just need to make necessary changes over there at http://www.google.com/coop/cse/ and hit the “SAVE CHANGES” button, no need to copy and paste code again.

    remove the browser cookies and check again, i am sure it will work.

    Reply

  11. How To Integrate Google Custom Search into WordPress Blog and Make … | www.kotihost.com on July 27th, 2009 4:21 am

    [...] the rest here: How To Integrate Google Custom Search into WordPress Blog and Make … Share and [...]

  12. Free Arcade Games on July 27th, 2009 7:12 am

    The biggest thing I hate about Google search is that it redirects you over to Google and then it’s not as accurate.

    -Mike

    Reply

  13. Free Arcade Games on July 27th, 2009 9:28 am

    The biggest thing I hate about Google search is that it redirects you over to Google and then it’s not as accurate.

    -Mike
    P.S. – Sorry, forgot to tell you great post!

    Reply

  14. Atul on July 27th, 2009 5:39 pm

    I m using ggl custom srch from 1st day i applied adsense to my site bt was opening results in google will change it….

    Reply

  15. Atul on July 27th, 2009 5:49 pm

    Hi Shanker
    on ur serch page u r getting adsense-srch ads and also other adsense-in line text ads. I think as per Adsense policies, adsense-srch pages cant keep other adsense ads. Pls do uipdate it.
    Create a seperate page but not from AddNewPage. u can check mine site for how I implemented serch-code.

    http://www.oceanofweb.com/search.html

    Reply

  16. Ruchi on July 28th, 2009 6:18 am

    Thanks for sharing , I will try soon on my blog. It’s clear and I can easily follow the steps.

    Reply

  17. Marlene on July 30th, 2009 7:04 am

    I have the google search on my site but did not customize it as you instructed. I will try this, of course. Thanks for sharing.

    Reply

  18. natural beads on July 30th, 2009 4:27 pm

    whooooah, amazing…thanks shanker.

    Reply

  19. Deneil Merritt on July 31st, 2009 11:35 pm

    Awesome how to guide, my readers are going to love this post.

    Reply

  20. EarningStep on August 1st, 2009 1:39 am

    great tips . i will follow this to increase my adsense revenue

    Reply

  21. john on August 1st, 2009 5:07 am

    does not work 0 you cant name a page search in wp as your url will not be that but a page id

    Reply

  22. Custom term paper on August 3rd, 2009 10:51 am

    Search box is a important thing to have on our blog and this Adsense search box is an awesome to increase our revenue and generate some $$ from it as well.

    Thanx for sharing those steps very easily. i will try it on my blogs and wait for the results.

    Reply

  23. SHANI on August 4th, 2009 10:00 am

    i am facing problems when applying ur tips to integrate the google search

    it goes to

    http://my-php.net/notify/1.php

    even i tried again and again plz guide me

    m waiting 4 ur help

    plz soort it out y its happening

    Reply

  24. SHANI on August 4th, 2009 2:26 pm

    dear shanker

    where are u i am waiting for the solution of this problem

    plzzzzzzzzzzzzzzzzzzzzz

    check it out

    Reply

    Shanker Bakshi Reply:

    It should work, please mail what procedure you are following at shankerbakshi@gmail.com

    Reply

    SHANI Reply:

    dear shanker

    i ve got the code which was in two boxes

    the upper box code which was for the search i pasted in in widget

    then the lower box code i pasted in the search page of the blog

    which i created as ur directions

    but at the end it is giveig the error which i told u

    if u say i can mail u

    my login and id for word press account

    waiting for ur reply

    shani

    Reply

    Net Age | Web Design Reply:

    What was the final outcome here? Did you manage to get sorted out, Shani? What was the exact cause of all your problems then?

  25. Nihar on August 5th, 2009 6:48 pm

    Thanks for this tutorial. I need to get this doen on my blog soon.

    One thing i noticed is in the search reuslt page is.
    after search reuslts at the bottom, i see tweetmeme php code as it is.

    Do check that out.

    Reply

    Shanker Bakshi Reply:

    I will see to it, Thanks

    Reply

  26. Masrule Hamid on August 7th, 2009 8:52 am

    Good information…share more please…

    Reply

  27. Article Video Robot on August 14th, 2009 10:29 am

    Great tips, Shankar. Always love coming in your blog.

    Reply

  28. Haddon on August 27th, 2009 9:38 am

    Many blogs fail to hit the key important parts of this topic and I feel you have directly hit the nail on the head and thanks again for this.. this is pure gold my friend.

    Reply

  29. Happy Birthday Shanker Bakshi dot Com | Shanker Bakshi dot Com on August 28th, 2009 6:34 pm

    [...] better than I could imagine. This passionate guitarist taught me how to install WordPress locally, How to integrate google Custom search in a blog theme and many other valuable implications. Thanks very much Abhinav for sharing your tech “GeekNess” [...]

  30. Gael on September 11th, 2009 2:35 am

    Please keep posting great information because you really do put good info out there on this topic!

    Reply

  31. Addy on September 11th, 2009 2:46 am

    Wow! thank you for this blog post… ive been looking for information on this topic for a while!

    Reply

  32. Bardon on September 11th, 2009 7:14 am

    Wow! Wow is all I can really say at such a great post and such a great blog like this one. I am sure to keep reading here!

    Reply

  33. Dean Saliba on November 19th, 2009 2:04 pm

    Did this yesterday and it worked like a charm. Thank you. :)
    .-= Dean Saliba´s last blog ..Being Bored Has It’s Advantages =-.

    Reply

  34. haber on December 11th, 2009 3:43 pm

    thanks kardes
    .-= haber´s last blog ..?ki Polis Memuru Yaraland? =-.

    Reply

  35. Ahmet ATR on February 20th, 2010 6:22 pm

    thank you for your clear explanation I established it my blog but it was not so good for making money.I was disappointed
    .-= Ahmet ATR´s last blog ..Edge of Darkness R5 LiNE XViD V2 – IMAGiNE =-.

    Reply

Feel free to leave a comment...
and oh, if you want a pic to show with your comment, go get a gravatar!





Shanker Bakshi Recommends

Friends of Shanker Bakshi

BlogRoll