75: Use Google for your default site search

- Tips For Blogging

If there is no argument about who the best search engine is, why do you think you can provide the best search for your blog? The traditional search widget on WordPress is good, but not good enough. If you have been following, then there are just few things you will need to do to make your blog search as sharp as Google.
Remember to make sure Google crawls your content as soon as they are created. You can equally do that yourself. If you were accepted into the Adsense program, there is a tool called Adsense for Search. The search code will show a search box on your website that will work just like the traditional Google search we all know, only that the content shown will only come from your blog.
You can equally earn from Google when people click on adverts that come with the search results.
If however you have not been accepted into the Adsense program, you can still leverage in the power of Google search for your site. Make sure Google crawls your site frequently or try and fetch new content as Google, then submit to index through the Google webmaster tool. You may need a bit programming to achieve this though.
When someone performs a search, capture the search keyword and attach your blog domain name to it to indicate you want Google to search only through your site. Then redirect the person to Google search page. This is how:
If someone searches for “Kim Kardashian”, change the search keyword to “site:myblog.com Kim Kardashian”, then url encode the keyword with php.
$keyword= “site:myblog.com Kim Kardashian”;
$key=Urlencode($keyword);
Then redirect to this link: https://www.google.com/search?q=$key
I apologize for any inconvenience this may cause. Please look for a PHP developer to help.