$permloc = "roadblockrevelations.org"; if($_SERVER["HTTP_HOST"] != $permloc) { Header("HTTP/1.1 301 Moved Permanently"); Header("Location: http://" . $permloc . $_SERVER["REQUEST_URI"]); exit(); } ?>