Redirecting search from index.php