Not entirely sure this is in the right place.<BR><BR>My brother operates a website on one domain and would like to move it to another while preserving search engine page ranking.<BR><BR>I've dabbled in web programming but never looked at this type of thing.<BR><BR>Am I right in thinking that setting a page on the old domain with an HTML status code of 301 such as <BR><pre class="ip-ubbcode-code-pre">HTTP/1.1 301 Moved Permanently
Location: http://www.example.org/
Content-Type: text/html
Content-Length: 174
<html>
<head>
<title>Moved</title>
</head>
<body>
<h1>Moved</h1>
<p>This page has moved to <a href="http://www.example.org/">http://www.example.org/</a>.</p>
</body>
</html></pre> would work for his purpose?<BR><BR>Or is their a better/more correct approach?
Location: http://www.example.org/
Content-Type: text/html
Content-Length: 174
<html>
<head>
<title>Moved</title>
</head>
<body>
<h1>Moved</h1>
<p>This page has moved to <a href="http://www.example.org/">http://www.example.org/</a>.</p>
</body>
</html></pre> would work for his purpose?<BR><BR>Or is their a better/more correct approach?