Php Header 301 redirect examples

header(“HTTP/1.1 301 Moved Permanently”);

header(‘Location: ‘ . $new_website_url . $append_qstrings);

//echo $new_website_url . $append_qstrings;
exit;

Comments are closed.