Currently if you search a Joomla site using default search module and component, “Food Hamburgers” will return all pages with either “Food” or “Hamburgers”.

search-all-words.png

This isn’t particularly useful because people would prefer to see pages with both. Zorro, a regular and wise commenter on this blog has come up with a neat little hack available here at www.nitsche.org. Download it, save it as mod_search.php, backup your existing mod_search.php and upload this instead. Now, when people search your site, Joomla will use the “all words” search by default.

Add A Comment