Hi,
A way other than @cpradio's is to use the following mod_rewrite:
// With www
Code:
# Redirect old_domain.com to new_domain.com with 301
RewriteCond %{HTTP_HOST} !^www\.new_domain\.com
RewriteCond %{HTTP_HOST} !^$
RewriteRule .? http://www.new_domain.com%{REQUEST_URI} [R=301,L]
// Without www
Code:
RewriteCond %{HTTP_HOST} !^new_domain\.com
RewriteCond %{HTTP_HOST} !^$
RewriteRule .? http://new_domain.com%{REQUEST_URI} [R=301,L]
This way for any page that existed on the old site as long as the same page names or index plus parameters will be redirected to the same page name on the new site. The seo bots will learn the 301 and your juice won't be lost.
Bookmarks