$home_url = home_url();
$search_term = substr($_SERVER['REQUEST_URI'],1);
$search_term = urldecode(stripslashes($search_term));
// $search_term = 'blog';
$search_url = $home_url . "/". $search_term;
$search_term = str_replace('/', ' ', $search_term);
$search_term = str_replace('-', ' ', $search_term);
// $full_search_url = $search_url . $search_term;
// $full_search_url = preg_replace('/ /', '%20', $full_search_url);
// $full_page = implode("", file($full_search_url));
// print_r($full_page); die();
?>
Page Not Found
We’re sorry. It looks like nothing was found at this location. We hope the information below can be of some assistance.
Here are some pages that you may be looking for, based upon the URL containing “.”
404. The page at
was not found.Are you sure the page should be here?
Tell the UT Webteam about it