Google Custom Search Integration
|
||||||||
Recently I read article about how to set up Google Custom Search in your website. It is well written article and covers all you need to integrate google custom search for wordpress. Now, for IndexU just follow their article until step 4, there a little different in step 5.
For IndexU, in "Specify search result details", just put the following URL :
http://www.yourindexudomain.com/gsearch.php
Next, insert the generated "Search box code" javascript to your IndexU template (ex : header.html or footer.html, depend where you want the search box to show)
Next, go to Admin Panel > Template Manager > Add new custom template
Name this new file as : gsearch.html
Put the generated "Search result code" javascript then save the custom template file.
And the final step is to modify the .htaccess file a little bit.
Change :
To :
You can change the "gsearch.php" to whatever you want. But you'll need to adjust the custom template and .htaccess too.
Ok, that's all. It is very simple and take less than 5 minutes :)
I hope this article useful for you.









February 24th, 2008 at 9:42 pm
Can you make the search go through the directory and the WP blog and return results from both?
February 25th, 2008 at 8:35 am
When using google custom search, it should show result from all your pages including your blog.
Just wait until google indexed your blogs content, Chad.