<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=UTF-8" http-equiv="Content-Type">
</head>
<body dir="ltr" bgcolor="#ffffff" text="#000000">
Or Czerninski wrote:
<blockquote
cite="mid:e54f1cf80907271506k6f1c6739je7d8d386e9ed949f@mail.gmail.com"
type="cite">
<div dir="ltr">Hi,<br>
Here you can find the entire process, step by step:<br>
<a moz-do-not-send="true"
href="http://googlewebmastercentral.blogspot.com/2008/04/best-practices-when-moving-your-site.html">http://googlewebmastercentral.blogspot.com/2008/04/best-practices-when-moving-your-site.html</a><br>
<br>
</div>
</blockquote>
Eeww, top posting...<br>
<br>
One important note beyond the link Or gave is to stress the "301" part.
All of the "300" codes are redirects, and the article does not put a
big enough stress on this point.<br>
<br>
301 means "permanent redirect". If the RFC is to be believed, this
means the request can be cached, bookmarks may be automatically
updated, and anything else that needs to take place (i.e. - updating
the search engine page rank) to facilitate the change. The URL is never
coming back.<br>
<br>
The most common way to produce redirects in Apache is mod_rewrite. The
problem is that mod_rewrite produces 302 (found elsewhere). This code
is for temporary redirects. The redirect may not be cached, bookmarks
must not be updated, and in any other sense the pointer that led you to
the original URL must still be considered valid. Understandably, Google
will also not assign the previous page's rank to the new address, as
the relocation is not considered permanent.<br>
<br>
In mod_rewrite, to achieve 301 codes, either add [permanent] to the end
of the rule, or [R=301].<br>
<br>
Shachar<br>
<br>
<pre class="moz-signature" cols="72">--
Shachar Shemesh
Lingnu Open Source Consulting Ltd.
<a class="moz-txt-link-freetext" href="http://www.lingnu.com">http://www.lingnu.com</a>
</pre>
</body>
</html>