<?php header("Status: 301 Moved Permanently"); header("Location: http://www.example.com"); // exit; ?>