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]