If you want your redirect to be permanent, use the 301 redirect. This is a safe search engine and smart browsers can update bookmarks with this.
eg. http://www.phpjunkyard.com/tutorials/php-redirect.php
<?php header("HTTP/1.1 301 Moved Permanently"); header("Location: http://www.New-Website.com"); ?>
EDIT (response to comments below)
This post (http://stackoverflow.com/questions/8775374/how-to-get-everything-after-the-domain-name-into-a-string) will help in creating the domain to redirect to. If we build it in a function like get_url() , you can change this above to
<?php my_url = get_url();
source share