bu 404 değilki 301 yönlendirmesi
header("Location: http://www.site.com");

şeklinde yapabilirsin.