phonemaverick
08-29-2009, 06:12 PM
from a branding standpoint we are changing domain names...
The result we are trying to achieve is redirecting 5000 pages from old domain to new domain, keep PR, SEO with Search Engines as this is a high traffic website.
What is the best way, do we need to create a .htaccess file with line-by-line url's from old domain to new domain?
We have Linux server with mod-rewrite enabled and need advice on the proper .htaccess file we need to add in our root directory. From our research the best way to get search engines to acknowledge this domain change and preserve our SEO is:
Options +FollowSymLinks
RewriteEngine On
RewriteCond %{HTTP_HOST} ^(www\.)?OLD\.com$ [NC]
RewriteRule .* http://www.our_new_domain.com%{REQUEST_URI} [R=301,L]
or
Options +FollowSymLinks
RewriteEngine on
RewriteRule (.*) http://www.our_new_domain.com/$1 [R=301,L]
Alternately, we've found this in a forum as a line-by-line redirect:
Redirect permanent /old_domain_page/004.htm http://www.our_new_domain.com/old_domain_page/004.htm
Redirect permanent /old_domain_page/005.htm http://www.our_new_domain.com/old_domain_page/005.htm
Redirect permanent /old_domain_page/006.htm http://www.our_new_domain.com/old_domain_page/006.htm
Redirect permanent /old_domain_page/007.htm http://www.our_new_domain.com/old_domain_page/007.htm
Redirect permanent /old_domain_page/008.htm http://www.our_new_domain.com/old_domain_page/008.htm
Redirect permanent /old_domain_page/009.htm http://www.our_new_domain.com/old_domain_page/009.htm
Redirect permanent /old_domain_page/0010.htm http://www.our_new_domain.com/old_domain_page/0010.htm
Which way do we go? What is the absolute best way to achieve our migration from our old domain to new domain.
Many thanks,
The result we are trying to achieve is redirecting 5000 pages from old domain to new domain, keep PR, SEO with Search Engines as this is a high traffic website.
What is the best way, do we need to create a .htaccess file with line-by-line url's from old domain to new domain?
We have Linux server with mod-rewrite enabled and need advice on the proper .htaccess file we need to add in our root directory. From our research the best way to get search engines to acknowledge this domain change and preserve our SEO is:
Options +FollowSymLinks
RewriteEngine On
RewriteCond %{HTTP_HOST} ^(www\.)?OLD\.com$ [NC]
RewriteRule .* http://www.our_new_domain.com%{REQUEST_URI} [R=301,L]
or
Options +FollowSymLinks
RewriteEngine on
RewriteRule (.*) http://www.our_new_domain.com/$1 [R=301,L]
Alternately, we've found this in a forum as a line-by-line redirect:
Redirect permanent /old_domain_page/004.htm http://www.our_new_domain.com/old_domain_page/004.htm
Redirect permanent /old_domain_page/005.htm http://www.our_new_domain.com/old_domain_page/005.htm
Redirect permanent /old_domain_page/006.htm http://www.our_new_domain.com/old_domain_page/006.htm
Redirect permanent /old_domain_page/007.htm http://www.our_new_domain.com/old_domain_page/007.htm
Redirect permanent /old_domain_page/008.htm http://www.our_new_domain.com/old_domain_page/008.htm
Redirect permanent /old_domain_page/009.htm http://www.our_new_domain.com/old_domain_page/009.htm
Redirect permanent /old_domain_page/0010.htm http://www.our_new_domain.com/old_domain_page/0010.htm
Which way do we go? What is the absolute best way to achieve our migration from our old domain to new domain.
Many thanks,