change index.php to redirect to search.php