How to Set AdSense for Search to Search Your Site by Default
July 13, 2007 by Gaman
When you set up the AdSense for search with SiteSearch enabled, the search box will default to web search instead of SiteSearch. It’s likely that most users who use the search box on your site use it to search pages within your site, not the Internet.
To set the search box to search pages on your site by default, visit the ‘AdSense Setup’ tab in your account and select ‘AdSense for search’ as your product. On the code generation page, you’ll see a sample search box under ‘Search box style’ that changes as you customise the layout.
Just click the radio button for SiteSearch within the sample to default your search box to SiteSearch.
Once you’ve finished customizing your search box, copy and paste the provided code onto your pages and you are done! As you can see here at Sabahan.com, the search box default to SiteSearch. Adding the AdSense for search is a good way to create another revenue stream for your site or blog.
Additionally, you can exclude certain pages on your site from being spidered and searchable using the robots.txt file.
[via Inside AdSense]







I am sure there are people that didn’t knew that.
Helpful!
This is what I wanted to do at the first times I installed it long long ago, thanks for your useful tips
There were some details in there that I was not sure of. Thanks for this!
I use the default Google search widget that came with WordPress, but did a little modification to it in that the radio buttons are hidden and replaced with my site by default. I generated the new search form using SiteSearch of course.
I have this installed in my recipes blog but am not sure whether I should install this at my review blog. The codes in the latter appear to be slightly more complicated and I am afraid to mess it up
Yup I didn’t realize that we can set that as default until today… just before I saw your post..