301 Redirects via PHP Either you redirect by changing the file Header in the code, or you use the redirect function built into the WP console. header("HTTP/1.1 301 Moved Permanently"); header("Location: http://www.my-blog.com/a-new-destination"); exit();