LIB001-664 Change search.php to cater for prefixed URLs