Webmasters Stack Exchange is a question and answer site for pro webmasters. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Is there a way for Google's Custom Search engine to show it's results on a page on your website?

On a custom page which you put on your server, so you can still display ads and links to pages in your site together with the search results?

share|improve this question
Have you read the documentation / manual? – Goboozo Mar 28 '11 at 11:33

You can host the results from a CSE as an iframe on your site:

share|improve this answer

Or you can use Bing, which has an XML api and doesn't charge for an unbranded search as google does.

share|improve this answer

do something like this - This may not work as is, but play around with it till it does

<form action="http://www.google.com/search" method="get" onSubmit="googleSearch(this)">
    <input name="XXX"  type="text"  value="SEARCH ..." >
    <input type="submit" >

function googleSearch(thisG){


share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.