05 Oct 301 Redirect using PHP 301 Redirect using PHP header ('HTTP/1.1 301 Moved Permanently'); header ('Location: '.$new_location);